From 7c1224d0bb15e4c6072ea33d261bd12745942ac6 Mon Sep 17 00:00:00 2001 From: Samuele Barzaghi Date: Tue, 3 Sep 2024 00:33:05 +0200 Subject: [PATCH] Added vscode debug launch config with pathMapping --- .vscode/launch.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..ee3f926 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,24 @@ +{ + // 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": "Python: Remote Attach to Cheshire Cat plugin", + "type": "debugpy", + "request": "attach", + "connect": { + "host": "localhost", + "port": 5678 + }, + "pathMappings": [ + { + "localRoot": "${workspaceFolder}/", + "remoteRoot": "/app/cat/plugins/${workspaceFolderBasename}/" + } + ], + "justMyCode": true + } + ] +} \ No newline at end of file