# Unable to start vscode REPL

**URL:** <https://discourse.julialang.org/t/unable-to-start-vscode-repl/20677>\
**Category:** General Usage\
**Tags:** vscode\
**Created:** [February 11, 2019, 5:31pm UTC](https://discourse.julialang.org/t/unable-to-start-vscode-repl/20677 "2019-02-11T17:31:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tk3369](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tk3369/32/2824_2.png) [@tk3369](https://discourse.julialang.org/u/tk3369)\
**Post date:** [February 11, 2019, 5:31pm UTC](https://discourse.julialang.org/t/unable-to-start-vscode-repl/20677/1 "2019-02-11T17:31:09Z")

</div>

I’m having a problem with VSCode not being able to start the Julia REPL. From VSCode, it shows that the program had an exit status of 2. I copied the exact same command from VSCode and run it from a command prompt. It gave me this weird error trying to open a file with 552 (pid?) Any idea?

Ping: @davidanthoff

 ![julia-repl-issue-2019-02-11_9-25-57](https://global.discourse-cdn.com/julialang/original/3X/9/f/9f27d27e9f9e636849d5c01ac102939551dd46a6.jpeg)

---

<div class="post-metadata">

**Author:** ![davidanthoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidanthoff/32/223493_2.png) [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Post date:** [February 11, 2019, 6:35pm UTC](https://discourse.julialang.org/t/unable-to-start-vscode-repl/20677/2 "2019-02-11T18:35:06Z")

</div>

Hm, it is passing the `terminalserver.jl` file as the argument to the `--project` argument, which is wrong. So the real question is why is it doing that… Have you switched the julia environment in VS Code in some way?

---

<div class="post-metadata">

**Author:** ![tk3369](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tk3369/32/2824_2.png) [@tk3369](https://discourse.julialang.org/u/tk3369)\
**Post date:** [February 11, 2019, 6:53pm UTC](https://discourse.julialang.org/t/unable-to-start-vscode-repl/20677/3 "2019-02-11T18:53:57Z")

</div>

It’s a bit strange. We restarted VSCode and now the problem went away.

Looks like the code is here. Still don’t know how it messes up though…

> <https://github.com/julia-vscode/julia-vscode/blob/d307bde57995b17bc35581c61049fe9dddfaf2e2/src/repl.ts#L153-L175>

---

<div class="post-metadata">

**Author:** ![davidanthoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidanthoff/32/223493_2.png) [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Post date:** [February 15, 2019, 5:11am UTC](https://discourse.julialang.org/t/unable-to-start-vscode-repl/20677/4 "2019-02-15T05:11:05Z")

</div>

Yeah, I don’t really understand how that could have happened either… If it occurs again, please let us know!
