I've been trying to debug my spider while using PyCharm. I created a run configuration and I put the script as scrapy/cmdline.py. The script parameters are "crawl a_spider". The working directory is my project. None of my breakpoints in my project are hitting. The only breakpoints that work are in cmdline.py. The last line that I can debug is:
[ . . . ]
reactor.run(installSignalHandlers=False) # blocking call
Is there some forking or processing splitting that I'm unaware of when you use cmdline.py? The debugger might not be detecting it or connecting to the new process. I have enabled with the debugger attach to new processes.
Has anyone else had success? Before the debugger goes into the abyss is there a way I can instruct the debugger to dumb out what the active breakpoints are?
OS X 10.9.1