pythondebuggingreplit

How can I use the debugging tool in Repl.it?


enter image description here

I see that Repl.it has a debugging functionality . But, I could not use it.

Can anyone tell me how to use debugging in Repl.it?


Solution

  • Step 1: Add breakpoint by clicking on the gutter left to line numbers.

    enter image description here

    Step 2: Find debugger in Tools section. Select the debugger option and it will open a debugger window in right pane.

    enter image description here

    Step 3: Run the debugger form the right pane, and it will hit the breakpoint. enter image description here