Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Has anyone successfully been able to configure ArcGIS 10 to use PyDev's debugging server for debugging? How do you set that up? I have PyDev working fine by itself, with ArcPy working fine, but I can't bind the debugger to scripts I run from ArcToolbox. I notice you can specify a debugger in ArcGIS, so I was wondering if it's possible to use the PyDev debug server. Anyone have opinions/tips/guidance?

share|improve this question
What happens when you specify PyDev as the debugger in the options window? – James Schek Mar 23 '11 at 22:15
PyDev is just an extension to Eclipse, so I'm not sure how one would go about formatting the proper text to enter there. – Kenton W Mar 24 '11 at 16:22 looks like it has instructions that will do the trick.

You'll have to make some additions to your python code itself, specifically:

  • Make an addition to sys.path so it includes the path for from the Eclipse plugin (Alternatively, you could set the PYTHONPATH environment variable).

  • Import the pydevd module and call pydevd.settrace().

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.