Summary: 1) Add VSCode settings to the source control, so users won't need to configure them 2) Copy VSCode settings to both "sonar" and "sonar/desktop" folders so both folders can be opened for development Reviewed By: passy Differential Revision: D20594643 fbshipit-source-id: 4331659008e4dbf9dfcc44a3723ab0612a3bd333
47 lines
1.1 KiB
JSON
47 lines
1.1 KiB
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,
|
|
"sourceMaps": true
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Launch Current Jest Suite",
|
|
"program": "${workspaceFolder}/node_modules/.bin/jest",
|
|
"args": ["--runInBand", "${relativeFile}"]
|
|
},
|
|
{
|
|
"type": "node",
|
|
"cwd": "${fileDirname}",
|
|
"request": "launch",
|
|
"name": "Launch Current Script",
|
|
"args": ["${file}"],
|
|
"env": {
|
|
"TS_NODE_FILES": "true"
|
|
},
|
|
"protocol": "inspector",
|
|
"internalConsoleOptions": "openOnSessionStart",
|
|
"runtimeArgs": ["--require", "ts-node/register"]
|
|
}
|
|
],
|
|
"compounds": [
|
|
{
|
|
"name": "Attach to All",
|
|
"configurations": ["Attach to Running Main", "Attach to Running Renderer"]
|
|
}
|
|
]
|
|
}
|