diff --git a/generators/workspace/templates/config.tmpl.json b/generators/workspace/templates/config.tmpl.json index 1c344ca2..61099b40 100644 --- a/generators/workspace/templates/config.tmpl.json +++ b/generators/workspace/templates/config.tmpl.json @@ -1,5 +1,6 @@ { "phovea_server": { + "ptvsd_debugger": false, "disable": { "plugins": [] } diff --git a/generators/workspace/templates/plain/.vscode/launch.json b/generators/workspace/templates/plain/.vscode/launch.json new file mode 100644 index 00000000..ef1efed4 --- /dev/null +++ b/generators/workspace/templates/plain/.vscode/launch.json @@ -0,0 +1,22 @@ + { + // 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": [ + { + // remember to activate the debugger in `/config.json` + "name": "Python: phovea_server", + "type": "python", + "request": "attach", + "port": 5678, + "host": "localhost", + "pathMappings": [ + { + "localRoot": "${workspaceFolder}", + "remoteRoot": "/phovea" + } + ] + } + ] + }