How to run winpdb from a Python script?

When I have to deal with errors in Python code, I often insert breakpoints, so at runtime I am thrown into debuger when a breakpoint is reached. I mainly used pdb (command line) and pudb (ncurses interface).

Is it possible to run winpdb in this situation? What breakpoint code will I include in my python script so winpdb gets started?

Edit: I am using a simple text editor (vim) to write code. Please do not suggest me using the IDE instead, with integrated winpdb or having its own GUI debugger similar to winpdb.

+5
source share
1 answer

Winpdb script winpdb:

 winpdb myscript.py

"" python, , , : http://winpdb.org/docs/embedded-debugging/

+4

All Articles