diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..71e058e --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,32 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Odin Control", + "type": "debugpy", + "request": "launch", + "module": "odin.main", + "justMyCode": false, + "console": "integratedTerminal", + "args": ["--config", "${workspaceFolder}/deploy/odin_server.cfg", "--logging", "info"] + }, + { + "name": "Debug Unit Test", + "type": "debugpy", + "request": "launch", + "justMyCode": false, + "program": "${file}", + "purpose": [ + "debug-test" + ], + "console": "integratedTerminal", + "env": { + // Enable break on exception when debugging tests (see: tests/conftest.py) + "PYTEST_RAISE": "1", + }, + }, + ], +}