Skip to content

Debug does not work for file in symlinked folder #57954

Closed
@bpasero

Description

@bpasero
  • VSCode Version: 1.28 (master)
  • OS Version: Linux Ubuntu 18

Steps to Reproduce:

  1. create a symbolic link to a folder (ln -s source target)
  2. open the folder (running out of master where our realpath logic is removed and you can open the link)
  3. add a app.js node.js file with just one console.log statement
  4. add a breakpoint
  5. create a launch config:
{
    "type": "node",
    "request": "launch",
    "name": "Launch Program",
    "program": "${workspaceFolder}/app.js",
    "runtimeArgs": [
        "--preserve-symlinks"
    ]
}
  1. Debug

=> 🐛 breakpoint is not hit

Works fine when opening the folder with its real path.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions