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
processId as string fails to attach on Windows since v2.1.2 #335
Since version 2.1.2, the attach request on Windows no longer works correctly when using ${command:pickProcess}. It appears there is a type mismatch: the debugger seems to expect an integer for the processId, but VSCode's ${command:pickProcess} returns the ID as a string.
Environment:
OS: Windows Plugin Version: 2.1.2 (and newer) VSCode Version: 1.108.0
The debugger fails to attach silently. The plugin fails to attach when processId is a string (which is the default output of ${command:pickProcess}).
Expected Behavior:
The plugin should handle the processId as a string or automatically convert it to an integer to maintain compatibility with the built-in VSCode process picker.
Workaround found:
If I manually hardcode the processId as an integer (e.g., "processId": 1234), the plugin attaches and works perfectly. However, this is not a viable solution for dynamic debugging.
Activity