mirror of
https://github.com/fanchenio/DawnLauncher.git
synced 2025-07-13 12:52:10 +08:00
68 lines
1.7 KiB
JSON
68 lines
1.7 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"compounds": [
|
|
{
|
|
"name": "Debug App",
|
|
"preLaunchTask": "Before Debug",
|
|
"configurations": [
|
|
"Debug Main Process",
|
|
"Debug Renderer Process"
|
|
],
|
|
"presentation": {
|
|
"hidden": false,
|
|
"group": "",
|
|
"order": 1
|
|
},
|
|
"stopAll": true
|
|
}
|
|
],
|
|
"configurations": [
|
|
{
|
|
"name": "Debug Main Process",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
|
|
"windows": {
|
|
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
|
|
},
|
|
"runtimeArgs": [
|
|
"--remote-debugging-port=9229",
|
|
"."
|
|
],
|
|
"envFile": "${workspaceFolder}/.vscode/.debug.env",
|
|
"console": "integratedTerminal"
|
|
},
|
|
{
|
|
"name": "Debug Renderer Process",
|
|
"port": 9229,
|
|
"request": "attach",
|
|
"type": "chrome",
|
|
"timeout": 60000,
|
|
"skipFiles": [
|
|
"<node_internals>/**",
|
|
"${workspaceRoot}/node_modules/**",
|
|
"${workspaceRoot}/dist-electron/**",
|
|
"http://127.0.0.1:3344/**"
|
|
]
|
|
},
|
|
{
|
|
"name": "C/C++ Runner: Debug Session",
|
|
"type": "cppdbg",
|
|
"request": "launch",
|
|
"args": [],
|
|
"stopAtEntry": false,
|
|
"externalConsole": true,
|
|
"cwd": "d:/GITHUB-DAWN-LAUNCHER/DawnLauncher",
|
|
"program": "d:/GITHUB-DAWN-LAUNCHER/DawnLauncher/build/Debug/outDebug",
|
|
"MIMode": "gdb",
|
|
"miDebuggerPath": "gdb",
|
|
"setupCommands": [
|
|
{
|
|
"description": "Enable pretty-printing for gdb",
|
|
"text": "-enable-pretty-printing",
|
|
"ignoreFailures": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |