You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Executed DAP server process doesn't set the process' working directory based on the run configuration #1684
This was reported by users of my plugin where I integrate LSP4IJ's DAP feature in a more first-class manner. My plugin creates and manages DAP run configurations and always sets the working directory to the IDE project root directory:
When this run configuration is executed, LSP4IJ isn't setting the resulting server process' working/current directory based on that setting, though:
As a result, all command-line options passed to the DAP server must use absolute paths, and if the DAP server uses the working directory in any manner, e.g., to find a local configuration file (which this one does), it won't be found given the default working directory used for the executed process.
LSP4IJ should set the working directory of the executed server process to the one from the run configuration if available.
Activity
SCWells72 commentedon Oct 2, 2026
PR #1685 created with fix.
angelozerr commentedon Oct 2, 2026
Fixed with #1685
fix(dap): keep the command line of a command and an environment in De…