# Injecting secrets while debugging Dart code on VSCode

**URL:** <https://community.doppler.com/t/injecting-secrets-while-debugging-dart-code-on-vscode/412>\
**Category:** Need Help\
**Created:** [November 16, 2021, 10:31pm UTC](https://community.doppler.com/t/injecting-secrets-while-debugging-dart-code-on-vscode/412 "2021-11-16T22:31:28Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![coastalcompile](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@coastalcompile](https://community.doppler.com/u/coastalcompile)\
**Post date:** [January 3, 2022, 9:57pm UTC](https://community.doppler.com/t/injecting-secrets-while-debugging-dart-code-on-vscode/412/5 "2022-01-03T21:57:02Z")

</div>

Here is a working config for dart projects (does not work for flutter):

```auto
        {
            "name": "Debug with Doppler Env",
            "request": "launch",
            "type": "dart",
            "program": "bin/main.dart",
            "customTool": "doppler",
            "toolArgs": [
                "run",
                "--",
                "dart"
            ]
        },

```

---

_[View the full topic](https://community.doppler.com/t/injecting-secrets-while-debugging-dart-code-on-vscode/412)._
