Closed goncalovf closed 2 months ago
Here's the result of running ipconfig from my Ubuntu WSL2:
Note that I removed some details from my project which should be irrelevant, including other Docker containers/services.
If I exec
into the container and run ping -c 1 host.docker.internal
, I get the following:
PING host.docker.internal (172.18.238.16) 56(84) bytes of data.
From 3ef7c1dda540 (172.18.0.7) icmp_seq=1 Destination Host Unreachable
--- host.docker.internal ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms`
Nevermind, the VS code version had nothing to do with it. It was an issue with my machine. Sorry for the inconvenience.
Glad you could resolve it!
Type: Bug
I'm running a project from WSL2 in a Windows machine. Yesterday, my VS Code auto-updated and, since then, the
wp
Docker container (see below) cannot connect with XDebug. I always get the following error:Below I detail my project.
I have the following docker-compose.yml:
In
./docker/wp
, I have the followingDockerfile
:In
./docker/wp/php
, I have the followingphp.ini
:Here's my .vscode/launch.json:
My current VS Code version:
Extension version: 1.35.0 VS Code version: Code 1.92.0 (b1c0a14de1414fcdaa400695b4db1c0799bc3124, 2024-07-31T23:26:45.634Z) OS version: Windows_NT x64 10.0.19045 Modes: Remote OS version: Linux x64 5.15.153.1-microsoft-standard-WSL2
System Info
|Item|Value| |---|---| |CPUs|AMD Ryzen 7 5800H with Radeon Graphics (16 x 3194)| |GPU Status|2d_canvas: enabledcanvas_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)|13.86GB (0.35GB free)| |Process Argv|--folder-uri=vscode-remote://wsl+Ubuntu/home/goncalovf/dev/s11/formidableforms.com --remote=wsl+Ubuntu --crash-reporter-id 52b03640-b65f-4819-8aac-60ceed826c03| |Screen Reader|no| |VM|0%| |Item|Value| |---|---| |Remote|WSL: Ubuntu| |OS|Linux x64 5.15.153.1-microsoft-standard-WSL2| |CPUs|AMD Ryzen 7 5800H with Radeon Graphics (16 x 0)| |Memory (System)|5.79GB (4.04GB free)| |VM|0%|
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 a9j8j154:30646983 962ge761:30959799 pythongtdpath:30769146 welcomedialogc:30910334 pythonnoceb:30805159 asynctok:30898717 pythonregdiag2:30936856 pythonmypyd1:30879173 2e7ec940:31000449 pythontbext0:30879054 accentitlementst:30995554 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 dsvsc021:30996838 jg8ic977:31013176 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 dwnewjupyter:31046869 impr_priority:31102340 nativerepl1:31104043 refactort:31108082 ccplti:31103428 pythonrstrctxtcf:31103194 hdi1a554:31097393 wkspc-onlycs-t:31106322 wkspc-ranged-t:31107835 ```