mirror of
https://github.com/Microsoft/vscode
synced 2024-07-17 11:07:22 +00:00
inspect-brk main process with renderer process (#159695)
Debugging the main process is fairly lightweight, so let's just always do it. Also, have more appropriate launch config names Fixes #159684
This commit is contained in:
parent
29e6391a40
commit
8c254bbf3e
12
.vscode/launch.json
vendored
12
.vscode/launch.json
vendored
|
@ -67,6 +67,7 @@
|
|||
"name": "Attach to Main Process",
|
||||
"timeout": 30000,
|
||||
"port": 5875,
|
||||
"continueOnAttach": true,
|
||||
"outFiles": [
|
||||
"${workspaceFolder}/out/**/*.js"
|
||||
],
|
||||
|
@ -237,7 +238,7 @@
|
|||
"cleanUp": "wholeBrowser",
|
||||
"urlFilter": "*workbench.html*",
|
||||
"runtimeArgs": [
|
||||
"--inspect=5875",
|
||||
"--inspect-brk=5875",
|
||||
"--no-cached-data",
|
||||
"--crash-reporter-directory=${workspaceFolder}/.profile-oss/crashes",
|
||||
// for general runtime freezes: https://github.com/microsoft/vscode/issues/127861#issuecomment-904144910
|
||||
|
@ -511,9 +512,10 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"name": "Search and Renderer processes",
|
||||
"name": "Search, Renderer, and Main processes",
|
||||
"configurations": [
|
||||
"Launch VS Code Internal",
|
||||
"Attach to Main Process",
|
||||
"Attach to Search Process"
|
||||
],
|
||||
"presentation": {
|
||||
|
@ -522,9 +524,10 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"name": "Renderer and Extension Host processes",
|
||||
"name": "Renderer, Extension Host, and Main processes",
|
||||
"configurations": [
|
||||
"Launch VS Code Internal",
|
||||
"Attach to Main Process",
|
||||
"Attach to Extension Host"
|
||||
],
|
||||
"presentation": {
|
||||
|
@ -555,10 +558,11 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"name": "Launch VS Code",
|
||||
"name": "Renderer and Main processes",
|
||||
"stopAll": true,
|
||||
"configurations": [
|
||||
"Launch VS Code Internal",
|
||||
"Attach to Main Process"
|
||||
],
|
||||
"preLaunchTask": "Ensure Prelaunch Dependencies"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue