2021-09-03 16:10:35 +00:00
|
|
|
{
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
|
|
|
{
|
|
|
|
"name": "Electron: main",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"protocol": "inspector",
|
|
|
|
"sourceMaps": true,
|
|
|
|
"presentation": {
|
|
|
|
"hidden": true,
|
|
|
|
"group": "Insomnia",
|
|
|
|
"order": 1
|
|
|
|
},
|
2022-04-20 17:42:19 +00:00
|
|
|
"cwd": "${workspaceFolder}/packages/insomnia",
|
2024-04-08 07:17:51 +00:00
|
|
|
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
|
2021-09-03 16:10:35 +00:00
|
|
|
"runtimeArgs": ["--remote-debugging-port=9222", "."],
|
|
|
|
"outputCapture": "std",
|
|
|
|
"windows": {
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Electron: main",
|
2024-04-08 07:17:51 +00:00
|
|
|
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
|
2021-09-03 16:10:35 +00:00
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"NODE_ENV": "development",
|
|
|
|
"ELECTRON_IS_DEV": "1"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Electron: renderer",
|
|
|
|
"type": "pwa-chrome",
|
|
|
|
"request": "attach",
|
|
|
|
"presentation": {
|
|
|
|
"hidden": true,
|
|
|
|
"group": "Insomnia",
|
|
|
|
"order": 2
|
|
|
|
},
|
|
|
|
"port": 9222,
|
2022-04-20 17:42:19 +00:00
|
|
|
"webRoot": "${workspaceFolder}/packages/insomnia/src",
|
2021-09-03 16:10:35 +00:00
|
|
|
"timeout": 60000
|
2021-11-01 15:13:30 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"protocol": "inspector",
|
|
|
|
"smartStep": true,
|
|
|
|
"name": "Inso",
|
|
|
|
"cwd": "${workspaceFolder}/packages/insomnia-inso",
|
|
|
|
"program": "${workspaceFolder}/packages/insomnia-inso/bin/debug_inso",
|
|
|
|
"sourceMaps": true,
|
|
|
|
"autoAttachChildProcesses": true,
|
|
|
|
"trace": true,
|
|
|
|
"preLaunchTask": "Inso: Compile (Watch)",
|
|
|
|
"args": ["${input:insoCommand}", "${input:insoCommandArgs}"],
|
|
|
|
"console": "integratedTerminal"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"inputs": [
|
|
|
|
{
|
|
|
|
"id": "insoCommandArgs",
|
|
|
|
"description": "Add an additional argument to inso",
|
|
|
|
"type": "promptString"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "insoCommand",
|
|
|
|
"description": "Pick an inso command to run",
|
|
|
|
"type": "pickString",
|
|
|
|
"options": [
|
|
|
|
{
|
|
|
|
"value": "generate config"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "run test"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "lint spec"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "export spec"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "script"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "help"
|
|
|
|
},
|
|
|
|
]
|
2021-09-03 16:10:35 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"compounds": [
|
|
|
|
{
|
|
|
|
"name": "Insomnia",
|
|
|
|
"presentation": {
|
|
|
|
"hidden": false,
|
|
|
|
"group": "Insomnia",
|
|
|
|
"order": 0
|
|
|
|
},
|
2022-04-18 15:27:39 +00:00
|
|
|
"stopAll": true,
|
2021-09-03 16:10:35 +00:00
|
|
|
"preLaunchTask": "Insomnia: Compile (Watch)",
|
|
|
|
"configurations": [
|
|
|
|
"Electron: main",
|
2021-11-01 15:13:30 +00:00
|
|
|
"Electron: renderer"
|
|
|
|
]
|
2021-09-03 16:10:35 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|