Dart-code: Add possibility to pass env variables to debug script

Created on 15 Aug 2018  路  2Comments  路  Source: Dart-Code/Dart-Code

In the launch.json, setting an env argument yields: "Property env is not allowed". To run some dart scripts, it's necessary to pass ENV variables to it, so it would be great to support this.

in debugger is enhancement

Most helpful comment

There's an ad-hoc build with this implemented for the VM here:

https://github.com/Dart-Code/Dart-Code/releases/tag/v2.18.0-alpha.1.env

I'll merge and ship properly in the next release.

All 2 comments

There's an ad-hoc build with this implemented for the VM here:

https://github.com/Dart-Code/Dart-Code/releases/tag/v2.18.0-alpha.1.env

I'll merge and ship properly in the next release.

v2.18.0 Beta 1 includes this fix (and others):

https://github.com/Dart-Code/Dart-Code/releases/tag/v2.18.0-beta.1

Was this page helpful?
0 / 5 - 0 ratings