# VSCode Debugger not hitting breakpoint in include file

**URL:** <https://discourse.julialang.org/t/vscode-debugger-not-hitting-breakpoint-in-include-file/46014>\
**Category:** General Usage\
**Tags:** vscode\
**Created:** [September 3, 2020, 4:00pm UTC](https://discourse.julialang.org/t/vscode-debugger-not-hitting-breakpoint-in-include-file/46014 "2020-09-03T16:00:35Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![RGerzaguet](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rgerzaguet/32/45492_2.png) [@RGerzaguet](https://discourse.julialang.org/u/RGerzaguet)\
**Post date:** [May 21, 2021, 9:35am UTC](https://discourse.julialang.org/t/vscode-debugger-not-hitting-breakpoint-in-include-file/46014/4 "2021-05-21T09:35:06Z")

</div>

This is also related to [this post](https://discourse.julialang.org/t/how-to-debug-a-script-in-existing-repl-using-vscode/60822/3) and @pfitzseb has created an issue on Github related to top level debugging, currently in backlog (see [here](https://github.com/julia-vscode/julia-vscode/issues/2146))  
So do think there is currently a solution (except wrap the code into a function) but thanks to the wonderful VSCode dev, we may have one soon 🙂

---

_[View the full topic](https://discourse.julialang.org/t/vscode-debugger-not-hitting-breakpoint-in-include-file/46014)._
