# What if I want to have two REPLs in VS Code?

**URL:** <https://discourse.julialang.org/t/what-if-i-want-to-have-two-repls-in-vs-code/61318>\
**Category:** General Usage\
**Created:** [May 17, 2021, 7:45pm UTC](https://discourse.julialang.org/t/what-if-i-want-to-have-two-repls-in-vs-code/61318 "2021-05-17T19:45:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [May 17, 2021, 7:45pm UTC](https://discourse.julialang.org/t/what-if-i-want-to-have-two-repls-in-vs-code/61318/1 "2021-05-17T19:45:53Z")

</div>

I want to be able to use two REPL in one window. Is the correct procedure to use “Julia: Run in new process”? (If it was actually working, which it isn’t: the execution occurs in the debugger.) What if I open a new terminal and run julia in it. Is there any way I can use that running process to execute julia code?

---

<div class="post-metadata">

**Author:** ![Wei\_Yang](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wei_yang/32/23951_2.png) [@Wei\_Yang](https://discourse.julialang.org/u/Wei_Yang)\
**Post date:** [May 17, 2021, 7:51pm UTC](https://discourse.julialang.org/t/what-if-i-want-to-have-two-repls-in-vs-code/61318/2 "2021-05-17T19:51:15Z")

</div>

Not sure if this is what you are looking for.

If you press Ctrl+Shift+5 in the terminal, you get a second terminal like what I have below.

 ![image](https://global.discourse-cdn.com/julialang/original/3X/e/a/eaf07be703c39d480c6c9955220952bcf73da5ff.png)

---

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [May 17, 2021, 7:55pm UTC](https://discourse.julialang.org/t/what-if-i-want-to-have-two-repls-in-vs-code/61318/3 "2021-05-17T19:55:30Z")

</div>

Sure, it splits the terminal. But it doesn’t run the second Julia REPL

---

<div class="post-metadata">

**Author:** ![jzr](https://avatars.discourse-cdn.com/v4/letter/j/eb9ed0/32.png) [@jzr](https://discourse.julialang.org/u/jzr)\
**Post date:** [May 17, 2021, 8:14pm UTC](https://discourse.julialang.org/t/what-if-i-want-to-have-two-repls-in-vs-code/61318/4 "2021-05-17T20:14:48Z")

</div>

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

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

---

<div class="post-metadata">

**Author:** ![Elyco](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/elyco/32/18418_2.png) [@Elyco](https://discourse.julialang.org/u/Elyco)\
**Post date:** [April 7, 2022, 11:18am UTC](https://discourse.julialang.org/t/what-if-i-want-to-have-two-repls-in-vs-code/61318/5 "2022-04-07T11:18:06Z")

</div>

Not that elegant, but for me opening two VSCode does the trick…  
(I needed to open it in two different folders otherwise the VScode wouldn’t let me open another client.)

---

<div class="post-metadata">

**Author:** ![maxchendt](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/maxchendt/32/42976_2.png) [@maxchendt](https://discourse.julialang.org/u/maxchendt)\
**Post date:** [September 26, 2022, 8:18am UTC](https://discourse.julialang.org/t/what-if-i-want-to-have-two-repls-in-vs-code/61318/6 "2022-09-26T08:18:24Z")

</div>

> <https://stackoverflow.com/questions/29964825/how-do-i-open-multiple-instances-of-visual-studio-code/60455407#60455407>

Duplicate Workspace in New Window

one of my JL is running for 10 more minutes, so I “Duplicate Workspace in New Window” and do other test, the new VS Code can launch its own REPL
