launch.json 是这样的
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "(lldb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/${fileBasenameNoExtension}.out",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"MIMode": "lldb",
// "preLaunchTask": "build",
"externalConsole": true
}
]
}
为啥 f5 debug 运行后没有弹出 console,设置的 externalConsole 不起作用吗
VS 内置的 debug console 只能输出结果,不能输入,会报出 Unable to perform this action because the process is running.
求老哥们指点