DEV Community

Discussion on: The lesser known (but incredibly useful) way of settings breakpoints in Python

Collapse
 
iceorfiresite profile image
Ice or Fire

If you're using VS Code for your Python IDE, you can run the debugger inside the IDE and just click the line number to set breakpoints.

Collapse
 
demianbrecht profile image
Demian Brecht

Yeah that was my usual approach. IIRC though, it didn't work with dependencies within a virtualenv.

Collapse
 
demianbrecht profile image
Demian Brecht

However, that was some time ago so perhaps the issue has been fixed.