launch.json
1 { 2 "version": "0.2.0", 3 "inputs": [ 4 { 5 "id": "arch", 6 "type": "pickString", 7 "description": "Select target architecture", 8 "options": ["x64", "arm64"], 9 "default": "x64" 10 } 11 ], 12 "configurations": [ 13 { 14 "name": "Run native executable (no build)", 15 "type": "cppvsdbg", 16 "request": "launch", 17 "program": "${workspaceFolder}\\${input:arch}\\Debug\\PowerToys.exe", 18 "args": [], 19 "stopAtEntry": false, 20 "cwd": "${workspaceFolder}", 21 "environment": [], 22 "console": "integratedTerminal" 23 }, 24 { 25 "name": "C/C++ Attach to PowerToys Process (native)", 26 "type": "cppvsdbg", 27 "request": "attach", 28 "processId": "${command:pickProcess}", 29 "symbolSearchPath": "${workspaceFolder}\\${input:arch}\\Debug;${workspaceFolder}\\Debug;${workspaceFolder}\\symbols" 30 }, 31 { 32 "name": "Run managed code (managed, no build, ARCH configurable)", 33 "type": "coreclr", 34 "request": "launch", 35 "program": "${workspaceFolder}\\${input:arch}\\Debug\\WinUI3Apps\\PowerToys.Settings.exe", 36 "args": [], 37 "cwd": "${workspaceFolder}", 38 "env": {}, 39 "console": "internalConsole", 40 "stopAtEntry": false 41 }, 42 { 43 "name": "Run AdvancedPaste (managed, no build, ARCH configurable)", 44 "type": "coreclr", 45 "request": "launch", 46 "program": "${workspaceFolder}\\${input:arch}\\Debug\\WinUI3Apps\\PowerToys.AdvancedPaste.exe", 47 "args": [], 48 "cwd": "${workspaceFolder}", 49 "env": {}, 50 "console": "internalConsole", 51 "stopAtEntry": false 52 }, 53 ] 54 }