From 05d29c05a38fac2f37ce5cab51fb5b561f7e5889 Mon Sep 17 00:00:00 2001 From: Don Jayamanne Date: Fri, 16 Mar 2018 14:13:42 -0700 Subject: [PATCH] :sparkles: add Scrapy debug configuration for experimental debugger --- news/1 Enhancements/1032.md | 1 + package.json | 18 +++++++++++++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 news/1 Enhancements/1032.md diff --git a/news/1 Enhancements/1032.md b/news/1 Enhancements/1032.md new file mode 100644 index 000000000000..d7d5cb280e36 --- /dev/null +++ b/news/1 Enhancements/1032.md @@ -0,0 +1 @@ +Add a Scrapy debug configuration for the experimental debugger. diff --git a/package.json b/package.json index 96fbb30580c6..a6459a783f88 100644 --- a/package.json +++ b/package.json @@ -787,6 +787,22 @@ "envFile": "^\"\\${workspaceFolder}/.env\"", "debugOptions": [] } + }, + { + "label": "Python Experimental: Scrapy", + "description": "%python.snippet.launch.scrapy.description%", + "body": { + "name": "Scrapy", + "type": "pythonExperimental", + "request": "launch", + "module": "scrapy", + "args": [ + "crawl", + "specs", + "-o", + "bikes.json" + ] + } } ], "configurationAttributes": { @@ -822,7 +838,7 @@ }, "console": { "enum": [ - "none", + "none", "integratedTerminal", "externalTerminal" ],