Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Do not rely on "processId" being returned by "runInTerminal" request #1678
VSCode does not return "processId" from "runInTerminal" requests: microsoft/vscode#61640
Thus, support for "console":"integratedTerminal" and "console":"externalTerminal" cannot rely on that - it has to retrieve the PID from the "process" event sent by the debug server, and gracefully handle situations where the debuggee exits or crashes before it gets a chance to send it.