feat(VisualStudio Code): add launch configurations
Some checks failed
Angular / Lint (push) Has been cancelled
Angular / Build (push) Has been cancelled
Release v2.X / Prep (push) Has been cancelled
Tauri / Build (push) Has been cancelled
Tauri / Linter (push) Has been cancelled
Release v2.X / Installer linux (push) Has been cancelled
Release v2.X / Installer windows (push) Has been cancelled
Close Stale Issues / stale (push) Has been cancelled

This commit is contained in:
Alexandr Stelnykovych
2025-12-17 14:08:24 +02:00
parent b5cb006937
commit 2d7d0323b0
6 changed files with 266 additions and 0 deletions

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

@@ -0,0 +1,37 @@
{
// 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": "portmaster-core",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmds/portmaster-core",
"windows": {
"args": ["--bin-dir=C:\\Program Files\\Portmaster", "--log-stdout", "--log", "trace"]
},
"linux": {
"args": ["--bin-dir=/usr/lib/portmaster", "--log-stdout", "--log", "trace"]
},
},
{
"name": "portmaster-core (NO INTERCEPTION)",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/cmds/portmaster-core",
"windows": {
"args": ["--bin-dir=C:\\Program Files\\Portmaster", "--log-stdout", "--log", "trace", "--disable-interception=true"]
},
"linux": {
"args": ["--bin-dir=/usr/lib/portmaster", "--log-stdout", "--log", "trace", "--disable-interception=true"]
},
}
]
}