From ff79890f4e1ed1f860bad591576cede9db5ad1fa Mon Sep 17 00:00:00 2001 From: Gary Yendell Date: Fri, 2 Aug 2024 14:04:22 +0000 Subject: [PATCH] Add launch config for eiger control server --- .vscode/launch.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .vscode/launch.json 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", + }, + }, + ], +}