Skip to content

Editor setup

Lars Falk-Petersen edited this page Feb 5, 2025 · 2 revisions

VSCode

Launch config for VSCode

.vscode/launch.json

{
    "version": "0.2.0",
    "configurations": [

        {
            "name": "Python Debugger: Current File",
            "type": "debugpy",
            "request": "launch",
            "console": "integratedTerminal",
            "args": ["--config", "config/larsfp.yaml"],
            "module": "bris.__main__"
        }
    ]
}

Test config for VSCode

.vscode/settings.json

{
    "python.testing.pytestArgs": [
        "tests"
    ],
    "python.testing.unittestEnabled": false,
    "python.testing.pytestEnabled": true
}

Clone this wiki locally