Files
scrypted/plugins/python-codecs/.vscode/launch.json

41 lines
1.3 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": [
{
"name": "Scrypted Debugger",
"type": "debugpy",
"request": "attach",
"connect": {
"host": "${config:scrypted.debugHost}",
"port": 10081
},
"justMyCode": false,
"preLaunchTask": "scrypted: deploy+debug",
"pathMappings": [
{
"localRoot": "/Volumes/Dev/scrypted/server/python/",
"remoteRoot": "/Volumes/Dev/scrypted/server/python/",
},
{
"localRoot": "${workspaceFolder}/src",
"remoteRoot": "${config:scrypted.pythonRemoteRoot}"
},
]
},
{
"name": "Python: Test",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/src/test.py",
"console": "internalConsole",
"justMyCode": true,
"env": {
"GST_PLUGIN_PATH": "/opt/homebrew/lib/gstreamer-1.0"
}
}
]
}