Here is a working config for dart projects (does not work for flutter):
{
"name": "Debug with Doppler Env",
"request": "launch",
"type": "dart",
"program": "bin/main.dart",
"customTool": "doppler",
"toolArgs": [
"run",
"--",
"dart"
]
},