Skip to content

Change launch.json file to use relative pathames vs absolute path names to allow easier usage on different machines or by different userers with different paths #71

@wsnell

Description

@wsnell

In file launch.json (you should change the values of "target" and "gdbpath", to remove the hardcoded absolute paths that will change for each user grabbing your project from GIT or other, and instead replace with the substitute path keys that VSStudio provides so other users won't have a conflict). See update launch.json file to see how it should be.
{
"version": "0.2.0",
"configurations": [
{
"type": "gdb",
"request": "launch",
"cwd": "${workspaceRoot}",
"name": "PlatformIO Debugger",
"target": "${workspaceFolder}/.pioenvs/lpc1768/firmware.elf",
"gdbpath": "${env:USERPROFILE}/.platformio/penv/Scripts/piodebuggdb",
"autorun": [ "source .pioinit" ]
}
]
}

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