# How to debug-break in unit test

**URL:** <https://discourse.julialang.org/t/how-to-debug-break-in-unit-test/58717>\
**Category:** New to Julia\
**Tags:** debugging\
**Created:** [April 6, 2021, 9:26pm UTC](https://discourse.julialang.org/t/how-to-debug-break-in-unit-test/58717 "2021-04-06T21:26:32Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![jmair](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jmair/32/35117_2.png) [@jmair](https://discourse.julialang.org/u/jmair)\
**Post date:** [November 14, 2022, 8:53am UTC](https://discourse.julialang.org/t/how-to-debug-break-in-unit-test/58717/8 "2022-11-14T08:53:28Z")

</div>

Perhaps you could try `TestItemRunner.jl` ([Prerelease of new testing framework and test run UI in VS Code](https://discourse.julialang.org/t/prerelease-of-new-testing-framework-and-test-run-ui-in-vs-code/86355)). This will let you isolate your unit tests and integrate with VS code’s built in Test viewer. From there you can run individual tests. There is also usually an option to debug an individual test, but the framework is still in beta so I’m not 100% sure that feature is there. However, the runner lets you launch a specific unit test from the REPL and you can just use the standard `@enter` or `@run` (the former seems to be more reliable for me) to enter debugging mode.

---

_[View the full topic](https://discourse.julialang.org/t/how-to-debug-break-in-unit-test/58717)._
