summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpyrex <57133330+SpyrexDE@users.noreply.github.com>2022-04-11 11:45:00 +0200
committerGitHub <noreply@github.com>2022-04-11 12:45:00 +0300
commit02f73b795d787f87069bbdf501c5658e8bbf96e3 (patch)
treec10a364d2c1957f83568828933ec5c3dd2fd720d
parent4ffe2fdf2471bd36727754739058c578e35af773 (diff)
downloaddecky-loader-02f73b795d787f87069bbdf501c5658e8bbf96e3.tar.gz
decky-loader-02f73b795d787f87069bbdf501c5658e8bbf96e3.zip
Add vscode debugging (#33)
-rw-r--r--.vscode/launch.json14
-rw-r--r--.vscode/tasks.json10
2 files changed, 24 insertions, 0 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
new file mode 100644
index 00000000..07508f6f
--- /dev/null
+++ b/.vscode/launch.json
@@ -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
+ }
+ ]
+}
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
new file mode 100644
index 00000000..3a62071a
--- /dev/null
+++ b/.vscode/tasks.json
@@ -0,0 +1,10 @@
+{
+ "version": "2.0.0",
+ "tasks": [
+ {
+ "label": "Stop Service",
+ "type": "shell",
+ "command":"systemctl --user stop plugin_loader",
+ }
+ ]
+}