Skip to content

Commit 36213b7

Browse files
committed
VSCode: added launch configurations
1 parent 42df30f commit 36213b7

File tree

1 file changed

+25
-10
lines changed

1 file changed

+25
-10
lines changed

.vscode/launch.json

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,19 @@
44
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
55
"version": "0.2.0",
66
"configurations": [
7+
{
8+
"name": "Run Test Launcher",
9+
"type": "python",
10+
"request": "launch",
11+
"program": "${workspaceFolder}/plotpy/tests/__init__.py",
12+
"console": "integratedTerminal",
13+
"envFile": "${workspaceFolder}/.env",
14+
"python": "${config:python.defaultInterpreterPath}",
15+
"justMyCode": true,
16+
"env": {
17+
"QT_COLOR_MODE": "light",
18+
}
19+
},
720
{
821
"name": "Run current file",
922
"type": "python",
@@ -13,27 +26,29 @@
1326
"envFile": "${workspaceFolder}/.env",
1427
"python": "${config:python.defaultInterpreterPath}",
1528
"justMyCode": false,
16-
// "args": [
17-
// "--unattended"
18-
// ],
1929
"pythonArgs": [
2030
"-W error::DeprecationWarning",
2131
],
2232
"env": {}
2333
},
2434
{
25-
"name": "Python: Debug Tests",
35+
"name": "Run current file (unattended)",
2636
"type": "python",
2737
"request": "launch",
2838
"program": "${file}",
29-
"purpose": [
30-
"debug-test"
31-
],
3239
"console": "integratedTerminal",
40+
"envFile": "${workspaceFolder}/.env",
41+
"python": "${config:python.defaultInterpreterPath}",
42+
"pythonArgs": [
43+
"-W error::DeprecationWarning",
44+
],
45+
"justMyCode": false,
46+
"args": [
47+
"--unattended"
48+
],
3349
"env": {
34-
"PYTEST_ADDOPTS": "--no-cov"
35-
},
36-
"justMyCode": false
50+
"GUIDATA_PARSE_ARGS": "1",
51+
}
3752
}
3853
]
3954
}

0 commit comments

Comments
 (0)