I've successfully setup Eclipse with my Scrapy project.
I did it by setting a new Run/Debug configuration :
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 ?
crawl ny
in your caseNone of the suggestions above worked for me. Things would run, but no break points would fire.
I added a main.py file to my local project and hooked into the scrapy command line like so:
import scrapy.cmdline
def main():
scrapy.cmdline.execute(argv=['scrapy', 'crawl', 'wiki'])
if __name__ =='__main__':
main()
This could easily be further refined to pass in the spider name to have different debug configs per spider.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With