Visual Studio Code在运行电子程序时打开多个终端

时间:2018-06-23 12:31:07

标签: visual-studio-code electron

在运行电子应用程序时,如何防止Visual Studio Code显示多个终端。

当我使用Visual Studio运行它时,它看起来像:

enter image description here

看起来它正在使用它进行某种形式的进程间通信,但是可以隐藏那些终端吗?

仅使用npm start这些终端不会显示。

1 个答案:

答案 0 :(得分:0)

我发现launch.json中的--enable-logging引起了它。删除它,终端将不会出现。