1
mirror of https://github.com/thepeacockproject/Peacock synced 2024-11-22 22:12:45 +01:00
Peacock/.vscode/launch.json

37 lines
1.2 KiB
JSON

{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Dev Server (run-dev)",
"skipFiles": ["<node_internals>/**"],
"env": {
"DEBUG": "peacock",
"NODE_TLS_REJECT_UNAUTHORIZED": "0"
},
"runtimeExecutable": "yarn",
"runtimeArgs": ["run-dev"],
"outputCapture": "std",
"internalConsoleOptions": "openOnSessionStart"
},
{
"type": "node",
"request": "launch",
"name": "Prod Server (existing build)",
"skipFiles": ["<node_internals>/**"],
"program": "${workspaceFolder}/chunk0.js",
"outFiles": ["${workspaceFolder}/chunk*.js"],
"env": {
"DEBUG": "peacock",
"NODE_TLS_REJECT_UNAUTHORIZED": "0"
},
"outputCapture": "std",
"internalConsoleOptions": "openOnSessionStart"
}
]
}