Microsoft/vscode

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

Open

#111.143 geöffnet am 22. Nov. 2020

Auf GitHub ansehen
 (1 Kommentar) (1 Reaktion) (1 zugewiesene Person)TypeScript (10.221 Forks)batch import
bugdebughelp wanted

Repository-Metriken

Stars
 (74.848 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 11h 43m) (1.000 gemergte PRs in 30 T)

Beschreibung

  • 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