DEBUGGER ON PYTHON
Hi guys, could anyone tell me how to use the debugger on repl.it for python, I tried searching how to debug on repl.it, but there were no results, so could someone please tell me how to use the debugger for python code?
Open a shell with C-S, and run
python3 -m pdb main.py And you can use these commands:
- pp (var)
- b (no) # set breakpoint
- c # run until next breakpoint
- r # run until function return
- n # move one line toward.
- s # move into the next function