Microsoft/vscode

Ctrl+click on `file:` link in Debug Console in devcontainer opens host filesystem instead

Open

#111,143 opened on Nov 22, 2020

View on GitHub
 (1 comment) (1 reaction) (1 assignee)TypeScript (10,221 forks)batch import
bugdebughelp wanted

Repository metrics

Stars
 (74,848 stars)
PR merge metrics
 (Avg merge 11h 43m) (1,000 merged PRs in 30d)

Description

  • VSCode Version: 1.51.1
  • OS Version: Windows 10.0.19042

Steps to Reproduce:

  1. Open a project inside a devcontainer
  2. Run a launch configuration that prints a file:///path/to/file.txt link to the debug console.
  3. Ctrl+click on it

vscode will convert the path to C:\path\to\file.txt and open it on the host Windows filesystem. Expected: file is opened from the devcontainer filesystem. Works as expected in the Terminal tab.

Does this issue occur when all extensions are disabled?: Can't use devcontainers without extensions

Contributor guide