Skip to content

Top level folder gets truncated when JS Project is not the root folder #894

@jasonwilliams

Description

@jasonwilliams

Describe the bug
When the JavaScript project is not at the top level the debugger doesn't match the paths well.

To Reproduce
Steps to reproduce the behavior:

  1. Checkout https://github.com/jasonwilliams/nextjs9-typescript-server-vscode-example/tree/monorepo (monorepo branch)
  2. Set a breakpoint on line 9 in webapp/pages/index.tsx (on const alfa)
  3. run docker-compose up inside of webapp
  4. Once that's running start the debugger (launch server (Docker))
  5. It won't bind, run "Create diagnostic information..."
  6. You should see the matcher has truncated the "webapp" folder

Screenshot
In this screenshot webapp is lost (on the second bullet point), causing the matcher not to find the file
image

VS Code Version: 1.53
Debugger Version Nightly (v2020.12.917)

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions