Quantcast
Channel: Debugging Scrapy Project in Visual Studio Code - Stack Overflow
Viewing all articles
Browse latest Browse all 9

Answer by Maximo Silva for Debugging Scrapy Project in Visual Studio Code

$
0
0

You could also try with

{"configurations": [    {"name": "Python: Scrapy","type": "python","request": "launch","module": "scrapy","cwd": "${fileDirname}","args": ["crawl","${fileBasenameNoExtension}","--loglevel=ERROR"        ],"console": "integratedTerminal","justMyCode": false    }  ]}

but the name of the field should be the same than the spiders name.

The --loglevel=ERROR is to get an output less verbose ;)


Viewing all articles
Browse latest Browse all 9

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>