Tag Archives: xdebug

Configure Xdebug on Netbeans 8 for PHP CLI

XDebug integration with Netbeans has always been flaky for me. It works one minute, and not the next time round. In this post, I’ve outlined some simple and robust steps to get XDebug working with Netbeans 8 on Ubuntu 14.04.


XDebug from the CLI to PHPStorm

You know it makes sense! Check/set your cli xdebug settings: zend_extension=xdebug.so xdebug.remote_enable = 1 xdebug.remote_connect_back = 1 xdebug.remote_port = 9000 xdebug.remote_host = Now create a file in nano or vim. call it php-cli-debug (or whatever) : #!/bin/bash export XDEBUG_CONFIG=”idekey=PHPSTORM” && export PHP_IDE_CONFIG=”serverName=awesome.dev” && php “$@” Then chmod it so it can be executed: chmod […]