diff --git a/plugins/vscode-python/.vscode/launch.json b/plugins/vscode-python/.vscode/launch.json index 72e05815d..3f36ff7fd 100644 --- a/plugins/vscode-python/.vscode/launch.json +++ b/plugins/vscode-python/.vscode/launch.json @@ -6,7 +6,7 @@ "configurations": [ { "name": "Scrypted Debugger", - "type": "python", + "type": "debugpy", "request": "attach", "connect": { "host": "${config:scrypted.debugHost}", @@ -15,13 +15,9 @@ "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}" + "remoteRoot": ".." }, ] } diff --git a/plugins/vscode-python/.vscode/settings.json b/plugins/vscode-python/.vscode/settings.json index d71b6ca7d..8c2bbf457 100644 --- a/plugins/vscode-python/.vscode/settings.json +++ b/plugins/vscode-python/.vscode/settings.json @@ -1,18 +1,6 @@ { - // docker installation - // "scrypted.debugHost": "koushik-thin", - // "scrypted.serverRoot": "/server", - - // pi local installation - // "scrypted.debugHost": "192.168.2.119", - // "scrypted.serverRoot": "/home/pi/.scrypted", - - // local checkout "scrypted.debugHost": "127.0.0.1", - "scrypted.serverRoot": "/Users/koush/.scrypted", - - "scrypted.pythonRemoteRoot": "${config:scrypted.serverRoot}/volume/plugin.zip", "python.analysis.extraPaths": [ "./node_modules/@scrypted/sdk/types/scrypted_python" ]