Thursday, October 3, 2019

If you are debugging against a Docker container is VS Code and you have a space in your user name you may get an error that states that the file could not be found as follows:

If that is the case just do the following:

1. Edit c:\users\{user name}\.vscode\extensions\ms-vscode.csharp-1.21.3\dist\extension.js (replace the version number as needed)

2. Find remoteProcessPickerScript

3. change the call from this:

to this:
o="\"" + a.join(l.getExtensionPath(),"scripts","remoteProcessPickerScript") + "\""

Save the file and restart VS Code.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.