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

Fail to debug Express app with an error "Configured debug type 'node2' is not supported" in VS Code Insider #3177

Closed
v-ruizh opened this issue Sep 1, 2021 · 4 comments · Fixed by #3179 or #3180

Comments

@v-ruizh
Copy link

v-ruizh commented Sep 1, 2021

OS: Win 10
Build Version: 20210828.1
VS Code Insider: 1.60.0-insider

Repro Steps:

  1. Open an Express app in VS Code Insiders.
  2. Add Docker related files to it.
  3. Debug this project.
  4. Check whether succeed to debug this Express app or not.

Expect:
Succeed to debug this Express app without any error.

Actual:
Fail to debug this Express app with an error "Configured debug type 'node2' is not supported".
image
Click "Install node2 Extension" button, no extensions found.
image

More Info:
This issue does not reproduce in the latest VS Code 1.59.1.

@v-ruizh v-ruizh added the AT-CTI label Sep 1, 2021
@bwateratmsft
Copy link
Collaborator

Looks like the old Node debug launch is gone; we'll need to fix this.

@bwateratmsft bwateratmsft added this to the 1.17.0 milestone Sep 1, 2021
@bwateratmsft bwateratmsft self-assigned this Sep 1, 2021
@bwateratmsft
Copy link
Collaborator

Since VSCode 1.60.0 is releasing soon we may also need to backport a fix to Docker extension 1.16.0.

@bwateratmsft bwateratmsft changed the title Fail to debug Express app with an error "Configured debug type 'node1' is not supported" in VS Code Insider Fail to debug Express app with an error "Configured debug type 'node2' is not supported" in VS Code Insider Sep 1, 2021
@bwateratmsft bwateratmsft modified the milestones: 1.17.0, 1.16.1 Sep 1, 2021
@bwateratmsft bwateratmsft linked a pull request Sep 1, 2021 that will close this issue
@bwateratmsft
Copy link
Collaborator

Looks like node2 was removed as part of microsoft/vscode-js-debug#1065.

@bwateratmsft
Copy link
Collaborator

The fix for this is now available in Docker extension version 1.16.1.

@vscodebot vscodebot bot locked and limited conversation to collaborators Oct 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants