85 lines
2.9 KiB
JSON
85 lines
2.9 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "MSIX Studio: Desktop (Rust)",
|
|
"type": "cppvsdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/src/target/vscode/debug/msix-studio.exe",
|
|
"cwd": "${workspaceFolder}/src/apps/desktop/src-tauri",
|
|
"args": [],
|
|
"environment": [{ "name": "RUST_BACKTRACE", "value": "1" }],
|
|
"console": "integratedTerminal",
|
|
"stopAtEntry": false,
|
|
"preLaunchTask": "MSIX: build desktop (debug)"
|
|
},
|
|
{
|
|
"name": "MSIX CLI: Schema",
|
|
"type": "cppvsdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/src/target/vscode/debug/package-builder.exe",
|
|
"cwd": "${workspaceFolder}/src",
|
|
"args": ["schema"],
|
|
"environment": [{ "name": "RUST_BACKTRACE", "value": "1" }],
|
|
"console": "integratedTerminal",
|
|
"stopAtEntry": false,
|
|
"preLaunchTask": "MSIX: build CLI (debug)"
|
|
},
|
|
{
|
|
"name": "MSIX CLI: Validate project",
|
|
"type": "cppvsdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/src/target/vscode/debug/package-builder.exe",
|
|
"cwd": "${workspaceFolder}/src",
|
|
"args": ["validate", "--project", "${input:projectPath}"],
|
|
"environment": [{ "name": "RUST_BACKTRACE", "value": "1" }],
|
|
"console": "integratedTerminal",
|
|
"stopAtEntry": false,
|
|
"preLaunchTask": "MSIX: build CLI (debug)"
|
|
},
|
|
{
|
|
"name": "MSIX CLI: Plan release",
|
|
"type": "cppvsdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/src/target/vscode/debug/package-builder.exe",
|
|
"cwd": "${workspaceFolder}/src",
|
|
"args": ["plan", "release", "--project", "${input:projectPath}", "--target", "${input:targetId}"],
|
|
"environment": [{ "name": "RUST_BACKTRACE", "value": "1" }],
|
|
"console": "integratedTerminal",
|
|
"stopAtEntry": false,
|
|
"preLaunchTask": "MSIX: build CLI (debug)"
|
|
},
|
|
{
|
|
"name": "MSIX CLI: Build plan",
|
|
"type": "cppvsdbg",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/src/target/vscode/debug/package-builder.exe",
|
|
"cwd": "${workspaceFolder}/src",
|
|
"args": ["build", "--project", "${input:projectPath}", "--plan-id", "${input:planId}"],
|
|
"environment": [{ "name": "RUST_BACKTRACE", "value": "1" }],
|
|
"console": "integratedTerminal",
|
|
"stopAtEntry": false,
|
|
"preLaunchTask": "MSIX: build CLI (debug)"
|
|
}
|
|
],
|
|
"inputs": [
|
|
{
|
|
"id": "projectPath",
|
|
"type": "promptString",
|
|
"description": "프로젝트 JSON 경로 (절대 경로 또는 src 기준 상대 경로, 따옴표 없이 입력)",
|
|
"default": "fixtures/InstallerProject.isproj"
|
|
},
|
|
{
|
|
"id": "targetId",
|
|
"type": "promptString",
|
|
"description": "프로젝트에 정의된 출력 대상 ID",
|
|
"default": "msix-direct"
|
|
},
|
|
{
|
|
"id": "planId",
|
|
"type": "promptString",
|
|
"description": "Plan release 결과의 id (실행하지 않은 새 계획의 UUID)"
|
|
}
|
|
]
|
|
}
|