mirror of
https://github.com/koush/scrypted.git
synced 2026-02-16 19:52:15 +00:00
41 lines
1.4 KiB
JSON
41 lines
1.4 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": "node",
|
|
"request": "launch",
|
|
"name": "Launch Program",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"preLaunchTask": "npm: build",
|
|
"program": "${workspaceFolder}/bin/scrypted-serve",
|
|
"runtimeArgs": [
|
|
"--trace-warnings",
|
|
"--nolazy",
|
|
],
|
|
"sourceMaps": true,
|
|
"resolveSourceMapLocations": [
|
|
"${workspaceFolder}/**",
|
|
"!**/node_modules/**"
|
|
],
|
|
"outFiles": [
|
|
"${workspaceFolder}/**/*.js"
|
|
],
|
|
"env": {
|
|
"SCRYPTED_CAN_RESTART": "true",
|
|
// "SCRYPTED_DEFAULT_AUTHENTICATION": "demo"
|
|
// force usage of system python because brew python is 3.11
|
|
// which has no wheels for coreml tools or tflite-runtime
|
|
// "SCRYPTED_PYTHON_PATH": "/usr/bin/python3",
|
|
// "SCRYPTED_SHARED_WORKER": "true",
|
|
// "SCRYPTED_DISABLE_AUTHENTICATION": "true",
|
|
// "DEBUG": "*",
|
|
}
|
|
},
|
|
]
|
|
} |