PHP: Disable Xdebug for CLI by Lorenz Bausch Posted on February 10, 2015 In most scenarios you won’t need Xdebug on your CLI. Also it is recommended to disable it if you use Composer. sudo php5dismod -s cli xdebug This entry was posted in Debian, PHP, Ubuntu. Bookmark the permalink.