ArnoldSmith86 / virtualtabletop

a virtual surface in the browser on which you can play board, dice and card games
https://virtualtabletop.io
GNU General Public License v3.0
173 stars 31 forks source link

added Codespaces support #2290

Closed ArnoldSmith86 closed 2 months ago

ArnoldSmith86 commented 2 months ago

First test. Goal is that VTT starts automatically when opening a Codespace.

ArnoldSmith86 commented 2 months ago

PR-SERVER-BOT: You can play around with it here: https://test.virtualtabletop.io/PR-2290/pr-test (or any other room on that server)

ArnoldSmith86 commented 2 months ago

It seems to work pretty well. It takes a while. And for some reason it takes quite a while longer until the websocket connection actually works..

RaphaelAlvez commented 2 months ago

Works for me. Much better then doing by myself

ArnoldSmith86 commented 2 months ago

I think this is all I wanna do for now. I couldn't get the debugger to attach automatically but you can just press the Play arrow in "Run and Debug" and it should attach to the automatically running process. Breakpoints should then just work.

It also doesn't make the port public. Maybe it's a security feature, no idea.