script : /usr/local/bin/scrapy ( path to scrapy )

parameter : crawl spiderName

working directory : should be a path to project directory where scrapy.cfg 
file exists 

On Saturday, February 8, 2014 12:46:04 AM UTC+5, Vinay Anantharaman wrote:
>
> 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. 
>
> 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.
>
> Has anyone else had success?
>
> Vinay
>

-- 
You received this message because you are subscribed to the Google Groups 
"scrapy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to scrapy-users+unsubscr...@googlegroups.com.
To post to this group, send email to scrapy-users@googlegroups.com.
Visit this group at http://groups.google.com/group/scrapy-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to