1

I'm wondering whether anyone succeeded at setting up ArcMap to debug python scripts in PyCharm. I've tried several times to configure both, but failed.

  • 1
    This question is not about importing arcpy in PyCharm but debugging scripts as they are running in ArcMap.exe. This question is not a duplicate. – Jason Scheirer Oct 4 '13 at 16:05
  • In the ArcMap Geoprocessing Options, have you set the Debugger texbox to the full path of Pycharm.exe? – klewis Oct 4 '13 at 17:37
  • I'm able to debug a python script, in PyCharm, that was run from an ArcMap toolbox script. From Catalog or ArcMap, right-click the script, select debug. After PyCharm opens, select debug to start a debug session. – klewis Oct 4 '13 at 18:34
  • I do this for IDLE and nothing happens. I have to leave it blank and use note pad :( – NULL.Dude Oct 6 '17 at 20:13
1

Try setting up remote debugging. I know the Wing IDE equivalent works in ArcMap, I assume if you set it up right PyCharm would as well.

0

Under Geoprocessing Options enter the path to your Pycharm program in the editor and debugger input boxes.

e.g. C:\Program Files (x86)\JetBrains\PyCharm Community Edition 2016.3\bin\pycharm.exe

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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