Add VSCode launch configuration to debug in remote Chrome (#58108)

This commit is contained in:
Kyle Cunningham 2022-11-03 21:08:38 +07:00 committed by GitHub
parent 4b1ddba0a8
commit 05f630a566
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

7
.vscode/launch.json vendored
View File

@ -11,6 +11,13 @@
"cwd": "${workspaceFolder}", "cwd": "${workspaceFolder}",
"args": ["--homepath", "${workspaceFolder}", "--packaging", "dev"] "args": ["--homepath", "${workspaceFolder}", "--packaging", "dev"]
}, },
{
"name": "Attach to Chrome",
"port": 9222,
"request": "attach",
"type": "chrome",
"webRoot": "${workspaceFolder}"
},
{ {
"name": "Debug Jest test", "name": "Debug Jest test",
"type": "node", "type": "node",