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
The mode property in launch.json defaults to local for attach requests.
However, if mode property for attach requests is omitted,
configs returned by resolveDebugConfiguration() have undefined mode.
This leads to cannot unmarshal string into processId to type int error
due to skipping parseInt in resolveDebugConfigurationWithSubstitutedVariables
hook when using command:pickGoProcess.
This change fixes the issue by setting the default value.
Fixes#1929
Change-Id: Ifa6501d1db9727aacad1368a93d10e941a3de17e
GitHub-Last-Rev: 6bcf535
GitHub-Pull-Request: #1932
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/370454
Trust: Hyang-Ah Hana Kim <[email protected]>
Trust: Peter Weinberger <[email protected]>
Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
0 commit comments