Answer the question
In order to leave comments, you need to log in
Problem with Xdebug in vs code?
Before that, xdebug was used mainly to test functions in test mode. Just added json config to vs code and tested. When the debugger was updated, it began to receive a port error. Changed in the config everything worked. But today in another project I launched scripts. They work but display a message
Xdebug: [Step Debug] Time-out connecting to debugging client, waited: 200 ms. Tried: localhost:9003 (through xdebug.client_host/xdebug.client_port) :-(
$ composer run-script phpunit
Xdebug: [Step Debug] Time-out connecting to debugging client, waited: 200 ms. Tried: localhost:9003 (through xdebug.client_host/xdebug.client_port) :-(
> phpunit tests
Xdebug: [Step Debug] Time-out connecting to debugging client, waited: 200 ms. Tried: localhost:9003 (through xdebug.client_host/xdebug.client_port) :-(
PHPUnit 9.4.3 by Sebastian Bergmann and contributors.
...... 6 / 6 (100%)
Time: 00:00.233, Memory: 6.00 MB
OK (6 tests, 12 assertions)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question