Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 387 Bytes

Never-autostart-XDebug-in-cli-environment.md

File metadata and controls

13 lines (7 loc) · 387 Bytes
  • Date : 2018-05-07
  • Tags : #php #debug

Never autostart XDebug in cli environment

TLDR;

Never ever enable xdebug.remote_autostart in cli

Xdebug is handy extension helps you debug your PHP code. But it slows the performance in cli mode, especially run PHP cli tool like composer or phpunit.

So please disable Xdebug in cli mode or set xdebug.remote_autostart=0 in INI file.