Skip to content

Commit

Permalink
VSCode: added launch configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreRaybaut committed Nov 23, 2023
1 parent 42df30f commit 36213b7
Showing 1 changed file with 25 additions and 10 deletions.
35 changes: 25 additions & 10 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,19 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Run Test Launcher",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/plotpy/tests/__init__.py",
"console": "integratedTerminal",
"envFile": "${workspaceFolder}/.env",
"python": "${config:python.defaultInterpreterPath}",
"justMyCode": true,
"env": {
"QT_COLOR_MODE": "light",
}
},
{
"name": "Run current file",
"type": "python",
Expand All @@ -13,27 +26,29 @@
"envFile": "${workspaceFolder}/.env",
"python": "${config:python.defaultInterpreterPath}",
"justMyCode": false,
// "args": [
// "--unattended"
// ],
"pythonArgs": [
"-W error::DeprecationWarning",
],
"env": {}
},
{
"name": "Python: Debug Tests",
"name": "Run current file (unattended)",
"type": "python",
"request": "launch",
"program": "${file}",
"purpose": [
"debug-test"
],
"console": "integratedTerminal",
"envFile": "${workspaceFolder}/.env",
"python": "${config:python.defaultInterpreterPath}",
"pythonArgs": [
"-W error::DeprecationWarning",
],
"justMyCode": false,
"args": [
"--unattended"
],
"env": {
"PYTEST_ADDOPTS": "--no-cov"
},
"justMyCode": false
"GUIDATA_PARSE_ARGS": "1",
}
}
]
}

0 comments on commit 36213b7

Please sign in to comment.