Skip to content

Add support for passing custom config (that isn't in launch.json) into debug adapters #10503

@DanTup

Description

@DanTup

I'm not sure what's the best way to do this, but we have some config (the location of the Dart SDK) we'd like to pass into the debug adapter. We don't want to force the user to put this into launch.json since the extension already knows it (we detect it and/or allow the user to config it).

As far as we can see, there's no way to pass additional info into the debug adapter (if this is incorrect, great, can you point us in the right direction?) or to have it access the Code config?

For now we're discussing dumping this into a temp folder and reading it back out, but obviously that's a bit of a hack!

Metadata

Metadata

Assignees

Labels

debugDebug viewlet, configurations, breakpoints, adapter issuesfeature-requestRequest for new features or functionalityverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions