gpt4 book ai didi

visual-studio-code - Visual Studio Code在运行 Electron 程序时打开多个终端

转载 作者:行者123 更新时间:2023-12-03 12:29:02 24 4
gpt4 key购买 nike

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

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

enter image description here

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

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

最佳答案

我在launch.json中发现了--enable-logging导致了这种情况。删除它,终端将不会出现。

关于visual-studio-code - Visual Studio Code在运行 Electron 程序时打开多个终端,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51001173/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com