# Avoid terminal instance to close when Server crash

**URL:** <https://discourse.julialang.org/t/avoid-terminal-instance-to-close-when-server-crash/54063>\
**Category:** VS Code\
**Created:** [January 27, 2021, 3:45pm UTC](https://discourse.julialang.org/t/avoid-terminal-instance-to-close-when-server-crash/54063 "2021-01-27T15:45:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![josePereiro](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/josepereiro/32/17322_2.png) [@josePereiro](https://discourse.julialang.org/u/josePereiro)\
**Post date:** [January 27, 2021, 3:45pm UTC](https://discourse.julialang.org/t/avoid-terminal-instance-to-close-when-server-crash/54063/1 "2021-01-27T15:45:36Z")

</div>

From [https://github.com/julia-vscode/julia-vscode/issues/1697](https://github.com/julia-vscode/julia-vscode/issues/1697)

Hi, sorry for the lack of details, but it is part of the issue. Sometimes when I’m using the `Shift + enter` workflow I run some code that crash the Server, but almost instantly the terminal instance that I was using also terminate so I can’t read the error messages to know what happened.

Is it any configuration that I can set to avoid that?

Thanks

---

<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:** [January 27, 2021, 3:46pm UTC](https://discourse.julialang.org/t/avoid-terminal-instance-to-close-when-server-crash/54063/2 "2021-01-27T15:46:41Z")

</div>

No. I plan on adding support for persistent sessions soon, which also is a solution for this issue.

---

<div class="post-metadata">

**Author:** ![josePereiro](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/josepereiro/32/17322_2.png) [@josePereiro](https://discourse.julialang.org/u/josePereiro)\
**Post date:** [January 27, 2021, 3:49pm UTC](https://discourse.julialang.org/t/avoid-terminal-instance-to-close-when-server-crash/54063/3 "2021-01-27T15:49:33Z")

</div>

Thanks for the replay! There isn’t any way to automatically, and optionally, `tee` the terminal output to some log from the extension itself?.
