// terminal 1
$ echo 'int main() { pause(); }' > main.c && clang -Wno-implicit-function-declaration && ./a.out
// terminal 2
$ exec 5<>$(lsof -g $(pgrep a.out) | grep pts | head -1 | awk ' { print $10 }')
$ lldb <&5 1>&5 2>&5
Link: https://marketplace.visualstudio.com/items?itemName=lanza.lldb-vscode
(lldb) file someBinaryWithDebugInfoYouBuilt
(lldb) b main
(lldb) r
(lldb) mark