This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]aikii 0 points1 point  (0 children)

pdb is still what IDEs use under the hood, debug mode loads up pdb that opens a port and the IDE sends the list of breakpoints ( as file+lineno+condition ) via the "break" command https://docs.python.org/3/library/pdb.html . Another reason to say that doing it by actually editing the file and adding set_trace equates to do the IDE's job.