Files
flipper/.vscode/launch.json
Anton Nikolaev 29258c3168 VSCode task to attach to both Main and Renderer processes simultaneously
Summary: The task for attaching to both Main and Renderer processes makes debugging in certain scenarios easier.

Reviewed By: passy

Differential Revision: D19813764

fbshipit-source-id: d81e07e5fb135b5bb904a3f6532347eca1a9bbb1
2020-02-10 06:26:51 -08:00

36 lines
771 B
JSON

{
"version": "0.2.0",
"configurations": [
{
"name": "Attach to Running Renderer",
"type": "chrome",
"request": "attach",
"port": 9222,
"webRoot": "/",
"url": "http://localhost:3000/index.dev.html"
},
{
"name": "Attach to Running Main",
"type": "node",
"request": "attach",
"port": 9229
},
{
"type": "node",
"request": "launch",
"name": "Launch Current Jest Suite",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"args": ["--runInBand", "${relativeFile}"]
}
],
"compounds": [
{
"name": "Attach to All",
"configurations": [
"Attach to Running Main",
"Attach to Running Renderer"
]
}
]
}