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
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:
34
desktop/tauri/.vscode/launch.json
vendored
Normal file
34
desktop/tauri/.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
// 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
|
||||
|
||||
// How to debug Tauri project:
|
||||
// https://v2.tauri.app/develop/debug/
|
||||
//
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "lldb", // `vscode-lldb` extension has to be installed (https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb)
|
||||
"request": "launch",
|
||||
"name": "Debug Dev",
|
||||
"cargo": {"args": ["build", "--manifest-path=./src-tauri/Cargo.toml", "--no-default-features"]},
|
||||
"env": { "TAURI_PM_URL": "http://127.0.0.1:817" }
|
||||
},
|
||||
{
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
"name": "Debug Prod",
|
||||
"cargo": {"args": ["build", "--manifest-path=./src-tauri/Cargo.toml", "--release"]},
|
||||
},
|
||||
{
|
||||
"name": "Debug Dev (VS Win Debugger)",
|
||||
"type": "cppvsdbg",
|
||||
"request": "launch",
|
||||
"program": "${workspaceRoot}/src-tauri/target/debug/portmaster.exe",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"preLaunchTask": "build:debug",
|
||||
"env": { "TAURI_PM_URL": "http://127.0.0.1:817" }
|
||||
}
|
||||
]
|
||||
}
|
||||
13
desktop/tauri/.vscode/tasks.json
vendored
Normal file
13
desktop/tauri/.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "build:debug",
|
||||
"type": "cargo",
|
||||
"command": "build",
|
||||
"args": ["--manifest-path=./src-tauri/Cargo.toml", "--no-default-features"]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user