Summary: Dev mode: fixed loading of plugins located outside of the Flipper source root folder, e.g. in ~/flipper-plugins as suggested in tutorial docs. Reviewed By: passy Differential Revision: D21306639 fbshipit-source-id: bb9044b25324065f0c12169b95fbe663da8d4305
48 lines
1.1 KiB
JSON
48 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",
|
|
"cwd": "${workspaceFolder}/desktop",
|
|
"program": "${workspaceFolder}/desktop/node_modules/.bin/jest",
|
|
"args": ["--runInBand", "${file}"]
|
|
},
|
|
{
|
|
"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"]
|
|
}
|
|
]
|
|
}
|