L
L
Leopandro2022-02-22 15:23:45
PHP
Leopandro, 2022-02-22 15:23:45

How to disable xdebug when working with console?

How to automatically disable xdebug when working with the console - it always writes messages that

Xdebug: [Step Debug] Time-out connecting to debugging client, waited: 200 ms. Tried: host.docker.internal:9001 (through xdebug.client_host/xdebug.client_port) :-(
Xdebug: [Step Debug] Time-out connecting to debugging client, waited: 200 ms. Tried: host.docker.internal:9001 (through xdebug.client_host/xdebug.client_port) :-(

because of this, the console is full of such messages,
for example, when running php artisan or php composer.phar?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2022-02-22
@Leopandro

don't enable it for the console at all.
or configure so that the debug session does not start automatically.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question