# Debugging A Dune Exe In VSCode

**URL:** <https://discuss.ocaml.org/t/debugging-a-dune-exe-in-vscode/5589>\
**Category:** Learning\
**Tags:** debugging, ocamldebug, dune\
**Created:** [April 22, 2020, 2:29pm UTC](https://discuss.ocaml.org/t/debugging-a-dune-exe-in-vscode/5589 "2020-04-22T14:29:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisnevers](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/chrisnevers/32/1854_2.png) [@chrisnevers](https://discuss.ocaml.org/u/chrisnevers)\
**Post date:** [April 22, 2020, 2:29pm UTC](https://discuss.ocaml.org/t/debugging-a-dune-exe-in-vscode/5589/1 "2020-04-22T14:29:14Z")

</div>

I’m trying to debug my dune executable in VS Code, but I’m running into issues. It worked about a month ago, but now it doesn’t 😞 I’ve compiled to byte code and set breakpoints in my editor, but when I debug the program, it has the following warnings in the debug console: `Can't find any event there.`. The program runs and I can see stdout in the console, I guess there are just no debug symbols. I’ve tried using the native debug adapter in vscode and the `OCaml Debugger` plugin, which relies on `earlybird`. Anybody have any ideas of what could be going wrong?
