Add cwd to vscode windows debug task example (#3286)

This commit is contained in:
Tony
2025-05-07 16:52:18 +08:00
committed by GitHub
parent 4c9a1bba50
commit 1775644f2b
3 changed files with 12 additions and 3 deletions

View File

@@ -130,7 +130,10 @@ Here is an example of running a dev server (equivalent of `beforeDevCommand`) an
{
"label": "build:debug",
"type": "cargo",
"command": "build"
"command": "build",
"options": {
"cwd": "${workspaceRoot}/src-tauri"
}
},
{
"label": "ui:dev",

View File

@@ -130,7 +130,10 @@ Tauri CLI は使用されないため、CLI 固有の機能は**実行されな
{
"label": "build:debug",
"type": "cargo",
"command": "build"
"command": "build",
"options": {
"cwd": "${workspaceRoot}/src-tauri"
}
},
{
"label": "ui:dev",

View File

@@ -129,7 +129,10 @@ Visual Studio Windows Debugger 是一个仅适用于 Windows 的调试器,通
{
"label": "build:debug",
"type": "cargo",
"command": "build"
"command": "build",
"options": {
"cwd": "${workspaceRoot}/src-tauri"
}
},
{
"label": "ui:dev",