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!
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.jsonsince 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!