Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression issue with debug in WSL #40345

Closed
wux5 opened this issue Dec 16, 2017 · 1 comment
Closed

Regression issue with debug in WSL #40345

wux5 opened this issue Dec 16, 2017 · 1 comment
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@wux5
Copy link

wux5 commented Dec 16, 2017

Debug in WSL is broken on the latest version 1.19.0, it used to work in v1.18.

  • VSCode Version: 1.19.0
  • OS Version: Windows 10

Steps to Reproduce:

  1. Setup a Typescript project (I guess it has the same issue with any NodeJS project), with a file server.ts
console.log("testing..."); // Set a breakpoint here
  1. Configure launch.json with:
{
      "name": "Current TS File",
      "type": "node",
      "request": "launch",
      "useWSL": true,
      "program": "${workspaceFolder}/node_modules/ts-node/dist/_bin.js",
      "args": [
        "${relativeFile}"
      ],
      "cwd": "${workspaceFolder}",
      "protocol": "inspector"
}
  1. Open server.ts, press F5 to run
  2. Notice the error as attached. Obviously the path of the current file (${relativeFile}) is incorrect, it's supposed to be /src/server.ts, but the log in the debug console shows: \src\server.ts. This worked correctly in the previous version.

Reproduces without extensions: Yes
vscode-debug

@vscodebot vscodebot bot added the debug Debug viewlet, configurations, breakpoints, adapter issues label Dec 16, 2017
@isidorn isidorn assigned weinand and unassigned isidorn Dec 18, 2017
@weinand
Copy link
Contributor

weinand commented Dec 18, 2017

duplicate of #40256

@weinand weinand closed this as completed Dec 18, 2017
@weinand weinand added *duplicate Issue identified as a duplicate of another issue(s) and removed debug Debug viewlet, configurations, breakpoints, adapter issues labels Dec 18, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

4 participants