Commit 5371a9b9 authored by jr2804's avatar jr2804
Browse files

feat(debug): add new debug configurations for crawling and querying TDocs

* Introduced a debug configuration for crawling with a limit of 10 TDocs.
* Added a debug configuration for querying specific TDocs by ID with cache support.
parent 7db95a55
Loading
Loading
Loading
Loading
+29 −0
Original line number Diff line number Diff line
@@ -119,6 +119,35 @@
					"--format",
					"json"
				]
			},
			{
				"name": "Debug: crawl (all)",
				"type": "debugpy",
				"request": "launch",
				"module": "tdoc_crawler",
				"console": "integratedTerminal",
				"justMyCode": false,
				"args": [
					"crawl",
					"--cache-dir",
					"./tests/test-cache",
					"--limit-tdocs",
					"10"
				]
			},
			{
				"name": "Debug: query (S4-251364)",
				"type": "debugpy",
				"request": "launch",
				"module": "tdoc_crawler",
				"console": "integratedTerminal",
				"justMyCode": false,
				"args": [
					"query",
					"S4-251364",
					"--cache-dir",
					"./tests/test-cache"
				]
			}
		]
	}