pygame wasm

For using repl and debugging pygbag games just use http://localhost:8000/#debug instead of just http://localhost:8000

to get debugger at runtime use ctrl+shift+i to pop up javascript console from pygbag page tab and type : debug() followed by enter.

edit this page