Skip to content

Commit

Permalink
feat: add debugger configuration for lldb
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanders11 authored Jan 29, 2025
1 parent d352133 commit 3ff04e0
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,45 @@
}
}
]
},
{
"type": "electron.cpp.lldb",
"label": "Electron: C++ (lldb)",
"initialConfigurations": [
{
"type": "cppdbg",
"request": "launch",
"program": "${command:electron-build-tools.show.exe}",
"args": [],
"stopAtEntry": false,
"cwd": "${command:electron-build-tools.show.root}/src",
"environment": [
{
"name": "ELECTRON_ENABLE_LOGGING",
"value": "true"
},
{
"name": "ELECTRON_ENABLE_STACK_DUMPING",
"value": "true"
},
{
"name": "ELECTRON_RUN_AS_NODE",
"value": ""
}
],
"MIMode": "lldb",
"externalConsole": false,
"setupCommands": [
{
"description": "Run Chromium lldbinit.py",
"text": "command script import ${cwd}/tools/lldb/lldbinit.py"
}
],
"sourceFileMap": {
"gen/": "${command:electron-build-tools.show.out.path}/gen/"
}
}
]
}
],
"jsonValidation": [
Expand Down

0 comments on commit 3ff04e0

Please sign in to comment.