forked from platformio/platformio-core
Use custom Pre-Debug task only for multi-env project
This commit is contained in:
@@ -26,7 +26,11 @@
|
|||||||
% end
|
% end
|
||||||
"preLaunchTask": {
|
"preLaunchTask": {
|
||||||
"type": "PlatformIO",
|
"type": "PlatformIO",
|
||||||
|
% if len(config.envs()) > 1:
|
||||||
"task": "Pre-Debug ({{ env_name }})"
|
"task": "Pre-Debug ({{ env_name }})"
|
||||||
|
% else:
|
||||||
|
"task": "Pre-Debug"
|
||||||
|
% end
|
||||||
},
|
},
|
||||||
"internalConsoleOptions": "openOnSessionStart"
|
"internalConsoleOptions": "openOnSessionStart"
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user