Scrapy + Eclipse PyDev : how to setup the debugger?

Posted by AsTeR on Stack Overflow See other posts from Stack Overflow or by AsTeR
Published on 2012-03-21T17:20:48Z Indexed on 2012/10/17 5:03 UTC
Read the original article Hit count: 218

Filed under:
|
|

I've successfully setup Eclipse with my Scrapy project.

I did it by setting a new Run/Debug configuration :

  • Whose main module links to Scrapy /usr/local/bin/scrapy for me (I've found suggestion to use cmdline.py but that failed on my computer (OSX Lion & scrapy installed through easy_install)
  • Defining the arguments to send "crawl ny" in my case as I would if I used the Scrapy command line
  • Setting the correct working directory (${workspace_loc:My Project/src} in my case)

Eclipse can successfully launch my project, but I've no debbuger. I'm missing my breakpoints and variable inspection, does anyone know how to setup the debbugger with this environment ?

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about pydev