3,580 questions
0 votes
1 answer
87 views
No breakpoints when using Xdebug in VSCode to a Apache server running in VirtualBox
Currently trying to get breakpoints working in VSCode to a PHP server running in VirtualBox. My VS Code launch is as follows: { "name": "Listen for Xdebug", "type&...
0 votes
1 answer
72 views
Dockerized Symfony app debug in VSCode - 9003 port occupied
Symfony app as container in docker-compose.yaml: users: build: context: . dockerfile: ./docker/Dockerfile container_name: users restart: unless-stopped working_dir: /var/...
0 votes
1 answer
73 views
Xdebug: [Config] WARN: Can't create control Named Pipe (0x0)
I use WAMP 3.4.0 on Win11 and try to debug a local web page. Unfortunately the "break at first line" and any other break point does not work. With xdebug.log_level=7 I only a couple of those ...
0 votes
1 answer
74 views
Laravel Sail + Xdebug
I have Laravel Sail installed in WSL, and I'm trying to debug the application using Xdebug. This only works if I enter the WSL IP address directly into the browser (http://172.17.170.44:8000). If I ...
1 vote
0 answers
125 views
How to connect Xdebug to VSCode
I'm trying to use Xdebug in VSCode. It seems Xdebug is running but I can't get VSCode to hit on the breakpoints I set. In the logfile (see below) it shows some kind of mismatch between files in which ...
0 votes
0 answers
83 views
Symfony app crashes during Xdebug session at EntityManager proxy, but manual evaluation works
I'm experiencing a strange debugging issue with my Symfony web application where Xdebug causes a crash, but manually evaluating the same code works fine. Problem Description When debugging my Symfony ...
0 votes
2 answers
117 views
Unable to debug my website on macOS with PhpStorm
My stack is nginx + php php-fpm + xDebug + PHPStorm I have put at the very beginning of my index.php echo "foobar"; exit; and placed a breakpoint on the very first line. If I run the script ...
0 votes
0 answers
79 views
XDebug & Netbeans - Works on some projects but not on others
Wondering if anyone can explain this. I have Netbeans 23, using XDebug 3. I find that it works on some of my projects but not on others. What I mean by that is when you hit "Run" (F5) on ...
0 votes
0 answers
77 views
MAMP & Xdebug Troubleshooting
I had Xdebug working on my MAMP Free installation but decided to purchase the full software. I saw in the menu unlike the free version I could enable Xdebug, so I did so, however the connection isn't ...
0 votes
1 answer
110 views
Getting "ERR_CONNECTION_RESET" error with specific xdebug versions
While updating my PHP dev environment by updating PHP and Xdebug versions, I encountered this error "ERR_CONNECTION_RESET" while debugging. Context: debugging a PrestaShop project. Old ...
0 votes
0 answers
105 views
Xdebug: [Step Debug] Time-out connecting to debugging client, waited: 200 ms. Tried: localhost:9003 (through xdebug.client_host/xdebug.client_port)
I'm using Xdebug v3.4.0 (with PHP 8.3.9). I get this error for every request. I tried other Xdebug versions but still got the issue. Here my php.ini : [XDebug] zend_extension = xdebug xdebug.mode=...
0 votes
0 answers
73 views
Examining variables in Sublime Text 3 with Xdebug
I've got the Xdebug plugin working with Sublime Text 3 (as well as the SFTP plugin), and I can successfully set breakpoints and have the Xdebug Context pane populate with every variable in my phpBB ...
0 votes
1 answer
95 views
I'm only able to hit breakpoints in PhpStorm with Xdebug if I run docker compose with sudo
As title says, cant hit breakpoints if I run docker compose without sudo. When I run sudo docker compose up --build, everything works. When I run docker compose up, I can access my web app on htpp://...
0 votes
1 answer
187 views
Xdebug cannot connect out of docker container
I've enabled xdebug in a docker container but see the following in the log: server-1 | [18] Log opened at 2025-03-07 12:42:03.355682 server-1 | [18] [Config] INFO: Control socket set up ...
4 votes
1 answer
1k views
Xdebug helper is no longer supported for configuration of PhpStorm Xdebug configuration. What is a working alternative for the Chrome browser? [closed]
So PhpStorm suggest the Xdebug Helper Chrome extension for debugging with Xdebug. However the extension is no longer supported in the Chrome store and has been turned off with the recommendation of ...