# VS code debugger question: environments

**URL:** https://discourse.julialang.org/t/vs-code-debugger-question-environments/66173
**Category:** Tooling
**Tags:** debugging, vscode
**Created:** [August 11, 2021, 5:17am UTC](https://discourse.julialang.org/t/vs-code-debugger-question-environments/66173 "2021-08-11T05:17:06Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![kumarbalachandran](https://avatars.discourse-cdn.com/v4/letter/k/9f8e36/32.png) [@kumarbalachandran](https://discourse.julialang.org/u/kumarbalachandran)
#### Post date: [August 11, 2021, 5:17am UTC](https://discourse.julialang.org/t/vs-code-debugger-question-environments/66173/1 "2021-08-11T05:17:07Z")

</div>

In VS code, when I start a debugger session, how do I set the environment. The ALT-J ALT-O julia REPL is set to the right environment, but when I start the debugger, it throws me to the parent environment and complains about packages not being recognized.

Thanks  
Kumar

---

<div class="post-metadata">

### Author: ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)
#### Post date: [August 11, 2021, 8:10am UTC](https://discourse.julialang.org/t/vs-code-debugger-question-environments/66173/2 "2021-08-11T08:10:49Z")

</div>

Fairly sure that’s simply a bug we have in the out-of-process debugger.

---

<div class="post-metadata">

### Author: ![kumarbalachandran](https://avatars.discourse-cdn.com/v4/letter/k/9f8e36/32.png) [@kumarbalachandran](https://discourse.julialang.org/u/kumarbalachandran)
#### Post date: [August 26, 2021, 6:02pm UTC](https://discourse.julialang.org/t/vs-code-debugger-question-environments/66173/3 "2021-08-26T18:02:42Z")

</div>

I figured out that the VS Code tool has a button on the bottom that allows you to set the environment.
