mirror of
https://github.com/koush/scrypted.git
synced 2026-03-05 02:41:59 +00:00
62 lines
1.9 KiB
JSON
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/*",
|
|
}
|
|
},
|
|
]
|
|
} |