When you debug in live share, the program is only executed on the host. Other people in the share can look at the source code and access the debugger, but they don't have a local copy running.
If you want other people to see what the program is displaying, you'll need to use a screen share program like Zoom or Discord.