I am trying to use doppler to manage secrets for my dart application. I use VSCode and the DartCode extension to debug my code. I cannot figure out how to get doppler to automatically inject the secrets before my dart code runs.
I can manually run the code via
doppler run -- dart /my/dart/file.dart but this doesn’t automatically attach the vscode debugger. How can I setup my launch config such that this is done automatically? DartCode does not support the"runtimeExecutable": “doppler” option from the nodejs debugger as mentioned in the Doppler docs.
I have also filed an issue here: Feature: Specify shell or executable to use when debugging · Issue #3674 · Dart-Code/Dart-Code · GitHub