Closed
Description
Users who work in symlinked workspace need to use substitutePath
(introduced as a fix for #622) because VSCode may use the symlinked path
while the Go command and Delve would use the original path.
This solution is not available for debug sessions started with the debug test codelens or
the debug session that started with a default configuration without launch.json (see #855)
A couple of options:
- allow users to configure the default
substitutePath
settings (e.g. go.delveConfig ) insettings.json
- try to detect this symlink case and auto-populate
substitutePath
automatically. - when this case is detected, the extension pops up a message to ask the user to configure the setting (or even update the settings value on behalf of the users).