From 813a5416f05702eecfe5fd1b54f3ae379ca1981a Mon Sep 17 00:00:00 2001 From: Tobias Diez Date: Tue, 5 Apr 2022 18:12:03 +0000 Subject: [PATCH] Add vs code config to debug pytest --- .vscode/launch.json | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index fcf2e9c45d8..677f3a243cd 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,6 +1,17 @@ { "version": "0.2.0", "configurations": [ + { + "name": "Sage: Pytest", + "type": "python", + "request": "launch", + "module": "pytest", + "args": [ + "${file}" + ], + "console": "integratedTerminal", + "justMyCode": false + }, { "name": "Python: Current File", "type": "python", @@ -10,4 +21,4 @@ "justMyCode": false } ], -} +} \ No newline at end of file