DEBUGGER ON PYTHON
RYANTADIPARTHI (6033)

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?

Thanks!

You are viewing a single comment. View All
CodeLongAndPros (1632)

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