How to debug and set breakpoints i browser

Hi!

I have just started to use pyscript, and it looks great. But is it possible to set breakpoints and do debuggng in the browser? I am using Chrome.

Svein-Tore

1 Like

Browser-based debugging is not yet available. Browsers like Chrome do not even know that Python exists because Pyodide loads Python into memory that is managed and interpreted within Pyodide.

There might be some Pyodide hooks but I am not aware of any.

[UPDATE]

PyCharm Early Access Program

  • Initial support for PyScript
1 Like