Adding `"console": "internalConsole"` fixes debugging:
{
"folders":
[
],
"debugger_configurations":
[
{
"type": "lldb",
"request": "launch",
"name": "Launch",
"program": "${file_path}/${file_base_name}",
"args": [],
"cwd": "${file_path}",
"console": "internalConsole"
},
],
}
Run
I found out the problem was related to console redirection when after several
minutes of no activity I saw this:
Failed to redirect stdio to a terminal. (Terminal agent did not respond
within the allotted time.)
Debuggee output will appear here.
Run
"pre_debug_task" still hangs when enabled and I am going to investigate that
next.