This repository was archived by the owner on Oct 1, 2024. It is now read-only.
This repository was archived by the owner on Oct 1, 2024. It is now read-only.
It would be nice to access "toolPath" as an Environment Variable #1115
Open
Description
I'm preparing for a debug package for Arduino Uno on https://github.com/DeqingSun/unoDebugTestPackage
All necessary tools can be installed by board manager of Arduino. And Arduino CLI can use variable like "{runtime.tools.DWDebugTools.path}/" in platform.txt to access the tool correctly.
But it seems launch.json don't have such an access in VScode. And user need to specify absolute path for miDebugger and debugServer, which is not convenient for beginners.
I hope variable such as this one can be accessed as an Environment Variable in json files.
vscode-arduino/src/arduino/arduino.ts
Line 591 in df3f8c0