Microsoft/vscode

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

Open

#111.143 aperta il 22 nov 2020

Vedi su GitHub
 (1 commento) (1 reazione) (1 assegnatario)TypeScript (10.221 fork)batch import
bugdebughelp wanted

Metriche repository

Star
 (74.848 star)
Metriche merge PR
 (Merge medio 11h 43m) (1000 PR mergiate in 30 g)

Descrizione

  • 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

Guida contributor