microsoft / vscode-remote-release

Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
https://aka.ms/vscode-remote
Other
3.67k stars 292 forks source link

Dev containers - Open Container Configuration File - does nothing #10459

Open yogch opened 4 days ago

yogch commented 4 days ago

Type: Bug

Start a new project, press: Open Container Configuration File Nothing happens

VS Code version: Code 1.95.2 (e8653663e8840adaf45af01eab5c627a5af81807, 2024-11-07T11:07:22.054Z) OS version: Windows_NT x64 10.0.22631 Modes:

System Info |Item|Value| |---|---| |CPUs|11th Gen Intel(R) Core(TM) i7-11850H @ 2.50GHz (16 x 2496)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off| |Load (avg)|undefined| |Memory (System)|31.73GB (6.06GB free)| |Process Argv|--crash-reporter-id 8b4dc8af-944a-4e61-a434-140e310d0da7| |Screen Reader|no| |VM|40%|
Extensions (7) Extension|Author (truncated)|Version ---|---|--- vscode-jetbrains-keybindings|isu|0.1.9 remote-containers|ms-|0.388.0 remote-wsl|ms-|0.88.5 cmake-tools|ms-|1.19.52 cpptools|ms-|1.22.11 cpptools-extension-pack|ms-|1.3.0 cmake|twx|0.0.17 (1 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805:30301674 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 vscrp:30673768 a9j8j154:30646983 962ge761:30959799 pythongtdpath:30769146 pythonnoceb:30805159 asynctok:30898717 pythonmypyd1:30879173 h48ei257:31000450 pythontbext0:30879054 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 945dj816:31013170 dvdeprecation:31068756 dwnewjupytercf:31046870 impr_priority:31102340 nativerepl1:31139838 refactort:31108082 pythonrstrctxt:31112756 cf971741:31144450 iacca1:31171482 notype1cf:31157160 5fd0e150:31155592 dwcopilot:31170013 h409b430:31177055 ```
chrmarti commented 4 days ago

Is that with the devcontainer.json in a Windows folder? Or a folder in WSL?

yogch commented 4 days ago

It doesn't work either when I:

chrmarti commented 3 days ago

Please append the Dev Containers log from after you triggered the "Open Container Configuration" command. (F1 > Dev Containers: Show Container Log)

yogch commented 3 days ago

The last 3 lines are right after I click Open Container Configuration File:

[72 ms] Dev Containers 0.388.0 in VS Code 1.95.2 (e8653663e8840adaf45af01eab5c627a5af81807).
[71 ms] Start: Run: wsl -l -v
[139 ms] Start: Run: wsl -d ddd-ide-wsl-22.04 -e wslpath -u C:\Users\MyUser\AppData\Local\Programs\Microsoft VS Code
[261 ms] Start: Run: wsl -d ddd-ide-wsl-22.04 -e /bin/sh -c cd '/mnt/c/Users/MyUser/AppData/Local/Programs/Microsoft VS Code' && /bin/sh
[271 ms] Start: Run in host: id -un
[320 ms] ddd
[320 ms] 
[321 ms] Start: Run in host:  (command -v getent >/dev/null 2>&1 && getent passwd 'ddd' || grep -E '^ddd|^[^:]*:[^:]*:ddd:' /etc/passwd || true)
[322 ms] Start: Run in host: echo ~
[323 ms] /home/ddd
[323 ms] 
[323 ms] Start: Run in host: test -f '/home/ddd/.vscode-server/cli/servers/Stable-e8653663e8840adaf45af01eab5c627a5af81807/server/node'
[324 ms] 
[324 ms] 
[324 ms] Exit code 1
[324 ms] Start: Run in host: test -f '/home/ddd/.vscode/cli/servers/Stable-e8653663e8840adaf45af01eab5c627a5af81807/server/node'
[325 ms] 
[325 ms] 
[325 ms] Exit code 1
[326 ms] Start: Run in host: test -f '/home/ddd/.vscode-server/bin/e8653663e8840adaf45af01eab5c627a5af81807/node'
[326 ms] 
[326 ms] 
[326 ms] Start: Run in host: test -f '/home/ddd/.vscode-server/bin/e8653663e8840adaf45af01eab5c627a5af81807/node_modules/node-pty/package.json'
[327 ms] 
[327 ms] 
[327 ms] Start: Run in host: test -f '/home/ddd/.vscode-remote-containers/dist/vscode-remote-containers-server-0.388.0.js'
[328 ms] 
[328 ms] 
[330 ms] userEnvProbe: loginInteractiveShell (default)
[330 ms] userEnvProbe: not found in cache
[330 ms] userEnvProbe shell: /bin/bash
[402 ms] userEnvProbe PATHs:
Probe:     '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Program Files (x86)/VMware/VMware Player/bin/:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program Files/PuTTY/:/mnt/c/Program Files/dotnet/:/mnt/c/Users/MyUser/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/MyUser/AppData/Local/JetBrains/Toolbox/scripts:/mnt/c/Users/MyUser/AppData/Local/Programs/Microsoft VS Code/bin:/snap/bin'
Container: None
[437 ms] Initializing configuration support...
[438 ms] Internal initialization of dev container support package...
[14909 ms] Entering createDevContainerConfig_v2
[21327 ms] Entering createDevContainerConfig_v2
[25112 ms] Entering createDevContainerConfig_v2