Skip to content

Extend the VScode debugger how to setup launch.json so that the debugger automatically loads my develop environment #79

@lmulder1991

Description

@lmulder1991

Hi all,

I've been developping package locally, for this example I cloned the CSV package and made some commits that I'd like to debug; and I've loaded them into my 'develop' environment:
image
When I currently hit 'debug file in new process' the debugger will complain that the current environment doesn't have the package included. I think I can avoid this issue by just loading my 'develop' environment instead which already has the package added.
image
now I'd like to load this environment when starting up the debugger, but by default the debugger load the 'v1.9' environment, which contains no breakpoints and so my debugger doesn't stop. So is there a way to define this via the 'launch.json' file? I could not find this in the current documentation
image
I figured out myself that I can just select the 'develop' environment using the button on the VScode taskbar. And then run the debugger. So I'll add this to the documentation lateron so that others don't have to figure this out again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions