Skip to content
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
@DeqingSun

Description

@DeqingSun

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.

const toolPath = path.join(toolsPath, "..", "..", "..", "tools");

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions