Uh oh!
There was an error while loading. Please reload this page.
dap: Ensure cwd is present in runInTerminal request - #1915
dap: Ensure cwd is present in runInTerminal request#1915Piotr Osiewicz (osiewicz) wants to merge 1 commit into
Conversation
Rich Chiodo (rchiodo)
commented
Jun 24, 2025
Is this breaking something else? I'd be wary of making it '' or setting it at all given that VS code works with it without the parameter. |
Yes, for one we've had to work around it in Zed in our deserialization code for that request type. |
Rich Chiodo (rchiodo)
commented
Jun 24, 2025
I think VS code is using it here: |
Rich Chiodo (rchiodo)
commented
Jun 24, 2025
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Rich Chiodo (rchiodo)
commented
Jun 24, 2025
It looks like it makes the tests fail at least: So the tests would have to be updated to ignore an empty cwd. |
Per https://microsoft.github.io/debug-adapter-protocol/specification,
runInTerminalRequestArguments.cwdis a mandatory property (although it can be left empty).