Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lanunch.json中cppdbg配置为什么要设置externalConsole true #302

Closed
zhaoyiping0622 opened this issue Oct 23, 2023 · 5 comments
Closed
Labels
question Further information is requested

Comments

@zhaoyiping0622
Copy link

Question

我在wsl2里试了一下,externalConsole true的时候貌似没法正常启动debugger,改为false之后才能启动,所以想问一下之前这里设置为true是有什么特殊用意吗?

@zhaoyiping0622 zhaoyiping0622 added the question Further information is requested label Oct 23, 2023
@zhaoyiping0622
Copy link
Author

image
image

@hnwyllmm
Copy link
Collaborator

我的机器是MAC,我在实际测试的时候,如果这个参数不设为true,那么就找不到能够输入数据的终端,但是使用LLDB测试没有问题。
设置为True的话,vscode会启动一个新的terminal,我可以在那里当做客户端输入测试数据。

@zhaoyiping0622
Copy link
Author

zhaoyiping0622 commented Oct 23, 2023

好像所有的远程开发都会碰到这个问题,我Mac试着连了一下远程的docker也不能启动,vscode-remote那边好像也有人提了这个问题:microsoft/vscode-remote-release#3413 。要不把externalConsole true设置为osx专有的参数?其他os都用false

@hnwyllmm
Copy link
Collaborator

好建议,回头改一下。你在开发的时候,遇到的问题,还有其他建议,也欢迎提一下,或者直接提pr

@hnwyllmm
Copy link
Collaborator

创建了一个issue关联此问题,此问题暂时关闭。
后续有其他问题欢迎随时讨论。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants