Page MenuHomePhabricator

Support Launching in External Console in lldb-vscode
Needs ReviewPublic

Authored by puremourning on Jan 3 2020, 6:42 AM.

Details

Reviewers
clayborg
Summary

When testing terminal-mode applications using lldb-vscode on macOS, it's
currently required to set LLDB_LAUNCH_FLAG_LAUNCH_IN_TTY when starting
lldb-vscode so that the application launches in a new Terminal.app
window. This is unlikely to work for VSCode as there's no obvious way to
set it.

vscode-cpptools uses externalConsole: true to enable this behaviour,
so we implement the same here .

Event Timeline

puremourning created this revision.Jan 3 2020, 6:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 3 2020, 6:42 AM