Files
scrypted/server/.vscode/launch.json
2022-01-07 11:30:50 -08:00

62 lines
1.9 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": [
{
"autoAttachChildProcesses": false,
"type": "pwa-node",
"request": "launch",
"name": "Launch Program",
"skipFiles": [
"<node_internals>/**"
],
"preLaunchTask": "npm: build",
"program": "${workspaceFolder}/dist/scrypted-main.js",
"runtimeArgs": [
"--expose-gc",
"--nolazy",
],
"sourceMaps": true,
"resolveSourceMapLocations": [
"${workspaceFolder}/**",
"!**/node_modules/**"
],
"outFiles": [
"${workspaceFolder}/**/*.js"
],
"env": {
// "SCRYPTED_SHARED_WORKER": "true",
"DEBUG": "/scrypted/*",
}
},
{
"autoAttachChildProcesses": false,
"type": "pwa-node",
"request": "launch",
"name": "Launch Program TS Node",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceFolder}/src/scrypted-main.ts",
"runtimeArgs": [
"--expose-gc",
"--nolazy",
"-r",
"ts-node/register"
],
"sourceMaps": true,
"resolveSourceMapLocations": [
"${workspaceFolder}/**",
"!**/node_modules/**"
],
"outFiles": [
"${workspaceFolder}/**/*.js"
],
"env": {
"DEBUG": "/scrypted/*",
}
},
]
}