Debug with internal command window Python Tools and Vistual Studio 2013

ptvs, python, visual-studio

Solution

You can hide the shell by changing Environment options in Python Tools with Visual Studio, change the default path to point pythonw.exe.

Here is the steps:

- TOOLS -> Python tools -> Python Environment

- Open Environment options, Add Environment, Enter whatever you want to name it.

- Copy all the options in the default Environment except change "Path:" to path of pythonw.exe. Hit OK and made the new Environment as the default environment.

Problem

I just installed Python Tools with Visual Studio 2013 (Shell) and whenever I run a debug of the program, a separate window pops up for the interpreter: I can however run the program using the internal interactive console: However this doesn't seem to stop at any breakpoints that I set in the code. Is there a way to force the system to use the internal console for debugging instead of using a separate windowed console?

Original source