pygame-web / pkg-porting-wasm

Tracks porting efforts on some modules you'd like to have working in pygbag
https://pygame-web.github.io/wiki/pkg/
5 stars 0 forks source link

debugging libraries? #7

Open gabriel-v opened 1 year ago

gabriel-v commented 1 year ago

see https://github.com/pygame-web/pygbag/issues/69

I would look if there's any pure python implementation in any debugging tools in the python wiki - could we use any of these in the browser?

Also, jurigged has breakpoints implemented - if we can port like half of that library, we could use its breakpoints that apparently don't use stdin.

Would also love to look at ipython alternative, for example

While this one doesn't work with pdb, it would make debugging and exploration easier. Maybe we could even replace the /#debug terminal with this kind of notebook, for easier debugging?

pmp-p commented 1 year ago

if a debugger is to be implemented, i'd like it to be a remote one accessible via both socket and websocket and ultimately compatible with https://eric-ide.python-projects.org/ remote debugger api or chrome debug api to avoid implementing user interfaces.