1. Ściągnięcie i rozpakowanie potrzebnych plików do xdebug
2. Skopiowanie xdebug.so do /etc/php5/xdebug
3. Wedytowanie /etc/php5/apache2/php.ini (Configuration File (php.ini) Path) i dopisanie:
zend_extension="/etc/php5/xdebug/xdebug.so"
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.idekey="netbeans-xdebug"
xdebug.remote_host=localhost
xdebug.remote_port=9000
4. Restarta apache i netbeans
5. php.ini wyświetla xdebug z wszystkimi ustawieniami
Kiedy chcę zrobić debug main project w netbeans cały czas mam Waiting for Connection (netbeans-xdebug) w przeglądarce wyskuje: http://localhost/svn/trunk/public/index.ph...netbeans-xdebug
Not Found
Kiedy chcę odłączyć xdebug dostaje takie info jak w okienku:
