-1

The Django debugger is absolutely dreading and finding errors is a daunting task.

Are there any third party Django debuggers out there?

4

2 回答 2

3

I don't know about Django debuggers, but PyCharm by JetBrains is an awesome Python IDE with a built-in debugger. I've been using it for over 2 years (previously a decade long user of their awesome IntellJ Java IDE) for Django work and it's been worth every penny paid.

于 2012-11-30T23:22:41.003 回答
1

Pydevd plugin for eclipse supports debugging code run from outside the IDE. I find it works great with Django.

It's simple to use - start the debugger from eclipse, then add the line import pydevd;pydevd.settrace() and execution will break at that line, allowing you to step through etc from eclipse.

To debug code on a remote machine, include the ip address of the machine running eclipse as an argument to settrace() (ie import pydevd;pydevd.settrace('10.0.0.68')).

Obviously the pydevd module will neeed to be on your pythonpath.

For installation instructions check the docs.

于 2012-11-30T23:34:56.660 回答