Files
scrypted/server/.vscode/launch.json
2024-03-21 19:44:57 -07:00

43 lines
1.6 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": "/opt/homebrew/bin/python3.11",
"SCRYPTED_PYTHON310_PATH": "/opt/homebrew/bin/python3.10",
// "SCRYPTED_PORTABLE_PYTHON": "true",
// "SCRYPTED_SHARED_WORKER": "true",
// "SCRYPTED_DISABLE_AUTHENTICATION": "true",
// "DEBUG": "*",
}
},
]
}