mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 01:57:13 +02:00
Generate a working "projectEnvName" for PlatformIO IDE's debugger for VSCode
This commit is contained in:
@ -8,6 +8,11 @@ PlatformIO Core 5
|
|||||||
|
|
||||||
**A professional collaborative platform for embedded development**
|
**A professional collaborative platform for embedded development**
|
||||||
|
|
||||||
|
5.0.3 (2020-??-??)
|
||||||
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
* Generate a working "projectEnvName" for PlatformIO IDE's debugger for VSCode
|
||||||
|
|
||||||
5.0.2 (2020-10-30)
|
5.0.2 (2020-10-30)
|
||||||
~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
@ -19,13 +19,14 @@
|
|||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "PIO Debug",
|
"name": "PIO Debug",
|
||||||
"executable": "{{ _escape_path(prog_path) }}",
|
"executable": "{{ _escape_path(prog_path) }}",
|
||||||
|
"projectEnvName": "{{ env_name }}",
|
||||||
"toolchainBinDir": "{{ _escape_path(dirname(gdb_path)) }}",
|
"toolchainBinDir": "{{ _escape_path(dirname(gdb_path)) }}",
|
||||||
% if svd_path:
|
% if svd_path:
|
||||||
"svdPath": "{{ _escape_path(svd_path) }}",
|
"svdPath": "{{ _escape_path(svd_path) }}",
|
||||||
% end
|
% end
|
||||||
"preLaunchTask": {
|
"preLaunchTask": {
|
||||||
"type": "PlatformIO",
|
"type": "PlatformIO",
|
||||||
"task": "Pre-Debug"
|
"task": "Pre-Debug ({{ env_name }})"
|
||||||
},
|
},
|
||||||
"internalConsoleOptions": "openOnSessionStart"
|
"internalConsoleOptions": "openOnSessionStart"
|
||||||
},
|
},
|
||||||
@ -34,6 +35,7 @@
|
|||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "PIO Debug (skip Pre-Debug)",
|
"name": "PIO Debug (skip Pre-Debug)",
|
||||||
"executable": "{{ _escape_path(prog_path) }}",
|
"executable": "{{ _escape_path(prog_path) }}",
|
||||||
|
"projectEnvName": "{{ env_name }}",
|
||||||
"toolchainBinDir": "{{ _escape_path(dirname(gdb_path)) }}",
|
"toolchainBinDir": "{{ _escape_path(dirname(gdb_path)) }}",
|
||||||
% if svd_path:
|
% if svd_path:
|
||||||
"svdPath": "{{ _escape_path(svd_path) }}",
|
"svdPath": "{{ _escape_path(svd_path) }}",
|
||||||
|
Reference in New Issue
Block a user