Add vscode debugging (#33)

This commit is contained in:
Spyrex
2022-04-11 11:45:00 +02:00
committed by GitHub
parent 4ffe2fdf24
commit 02f73b795d
2 changed files with 24 additions and 0 deletions

14
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,14 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug",
"type": "python",
"request": "launch",
"program": "${workspaceFolder}/plugin_loader/main.py",
"preLaunchTask": "Stop Service",
"console": "integratedTerminal",
"justMyCode": true
}
]
}

10
.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,10 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Stop Service",
"type": "shell",
"command":"systemctl --user stop plugin_loader",
}
]
}