# Using PyStan in VS Code

**URL:** <https://discourse.mc-stan.org/t/using-pystan-in-vs-code/16286>\
**Category:** PyStan\
**Created:** [June 29, 2020, 7:06pm UTC](https://discourse.mc-stan.org/t/using-pystan-in-vs-code/16286 "2020-06-29T19:06:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbaranowski](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/jbaranowski/32/5734_2.png) [@jbaranowski](https://discourse.mc-stan.org/u/jbaranowski)\
**Post date:** [June 29, 2020, 7:06pm UTC](https://discourse.mc-stan.org/t/using-pystan-in-vs-code/16286/1 "2020-06-29T19:06:54Z")

</div>

I have a very technical (possibly simple) issue. I want to use VS Code for my python-stan projects. VS Code has its own terminal console. Is there a way for the output of fitting (sampling progress etc) be displayed there?

I’d be grateful for any help.

---

<div class="post-metadata">

**Author:** ![ahartikainen](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/ahartikainen/32/321_2.png) [@ahartikainen](https://discourse.mc-stan.org/u/ahartikainen)\
**Post date:** [June 29, 2020, 7:25pm UTC](https://discourse.mc-stan.org/t/using-pystan-in-vs-code/16286/2 "2020-06-29T19:25:25Z")

</div>

Have you tried to use `verbose=True` (for `sampling`)?

---

<div class="post-metadata">

**Author:** ![jbaranowski](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/jbaranowski/32/5734_2.png) [@jbaranowski](https://discourse.mc-stan.org/u/jbaranowski)\
**Post date:** [June 30, 2020, 4:39pm UTC](https://discourse.mc-stan.org/t/using-pystan-in-vs-code/16286/3 "2020-06-30T16:39:42Z")

</div>

I’ve isolated the problem to jupyter and VS Code. Normal .py scripts run and sampling info is displayed. But when I’m running jupyter no such luck.

---

<div class="post-metadata">

**Author:** ![ahartikainen](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/ahartikainen/32/321_2.png) [@ahartikainen](https://discourse.mc-stan.org/u/ahartikainen)\
**Post date:** [June 30, 2020, 4:52pm UTC](https://discourse.mc-stan.org/t/using-pystan-in-vs-code/16286/4 "2020-06-30T16:52:19Z")

</div>

Yeah, jupyter outputs c++ messages to terminal, but in this case, it might be hidden.
