1
mirror of https://github.com/thepeacockproject/Peacock synced 2024-11-29 09:15:11 +01:00
Peacock/.vscode/launch.json
2022-11-10 03:49:47 +01:00

35 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"],
"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"
},
"internalConsoleOptions": "openOnSessionStart"
}
]
}