|
| 1 | +// A launch configuration that compiles the extension and then opens it inside a new window |
| 2 | +// Use IntelliSense to learn about possible attributes. |
| 3 | +// Hover to view descriptions of existing attributes. |
| 4 | +// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 |
| 5 | +{ |
| 6 | + "version": "0.2.0", |
| 7 | + "configurations": [ |
| 8 | + { |
| 9 | + "name": "Debug Extension Only", |
| 10 | + "type": "extensionHost", |
| 11 | + "request": "launch", |
| 12 | + "args": ["--extensionDevelopmentPath=${workspaceFolder}"], |
| 13 | + "outFiles": ["${workspaceFolder}/dist/**/*.js"], |
| 14 | + "preLaunchTask": "npm: watch", |
| 15 | + "presentation": { |
| 16 | + "hidden": false, |
| 17 | + "group": "", |
| 18 | + "order": 2 |
| 19 | + } |
| 20 | + }, |
| 21 | + { |
| 22 | + "name": "Python Attach", |
| 23 | + "type": "python", |
| 24 | + "request": "attach", |
| 25 | + "processId": "${command:pickProcess}", |
| 26 | + "justMyCode": false, |
| 27 | + "presentation": { |
| 28 | + "hidden": false, |
| 29 | + "group": "", |
| 30 | + "order": 3 |
| 31 | + } |
| 32 | + }, |
| 33 | + { |
| 34 | + "name": "Python Config for test explorer (hidden)", |
| 35 | + "type": "python", |
| 36 | + "request": "launch", |
| 37 | + "console": "integratedTerminal", |
| 38 | + "purpose": ["debug-test"], |
| 39 | + "justMyCode": true, |
| 40 | + "presentation": { |
| 41 | + "hidden": true, |
| 42 | + "group": "", |
| 43 | + "order": 4 |
| 44 | + } |
| 45 | + }, |
| 46 | + { |
| 47 | + "name": "Debug Extension (hidden)", |
| 48 | + "type": "extensionHost", |
| 49 | + "request": "launch", |
| 50 | + "args": ["--extensionDevelopmentPath=${workspaceFolder}"], |
| 51 | + "outFiles": ["${workspaceFolder}/dist/**/*.js"], |
| 52 | + "env": { |
| 53 | + "USE_DEBUGPY": "True" |
| 54 | + }, |
| 55 | + "presentation": { |
| 56 | + "hidden": true, |
| 57 | + "group": "", |
| 58 | + "order": 4 |
| 59 | + } |
| 60 | + }, |
| 61 | + { |
| 62 | + "name": "Python debug server (hidden)", |
| 63 | + "type": "python", |
| 64 | + "request": "attach", |
| 65 | + "listen": { "host": "localhost", "port": 5678 }, |
| 66 | + "justMyCode": true, |
| 67 | + "presentation": { |
| 68 | + "hidden": true, |
| 69 | + "group": "", |
| 70 | + "order": 4 |
| 71 | + } |
| 72 | + } |
| 73 | + ], |
| 74 | + "compounds": [ |
| 75 | + { |
| 76 | + "name": "Debug Extension and Python", |
| 77 | + "configurations": ["Python debug server (hidden)", "Debug Extension (hidden)"], |
| 78 | + "stopAll": true, |
| 79 | + "preLaunchTask": "npm: watch", |
| 80 | + "presentation": { |
| 81 | + "hidden": false, |
| 82 | + "group": "", |
| 83 | + "order": 1 |
| 84 | + } |
| 85 | + } |
| 86 | + ] |
| 87 | +} |
0 commit comments