background preloader

Komodo

Facebook Twitter

Documentation. Xdebug provides an interface for debugger clients that interact with running PHP scripts.

Documentation

This section explains how to set-up PHP and Xdebug to allow this, and introduces a few clients. Introduction Xdebug's (remote) debugger allows you to examine data structure, interactively walk through your and debug your code. There are two different protocols to communicate with the debugger: the old GDB-like command protocol (GDB) which is implemented in Xdebug 1.3 and 2; and the DBGp protocol which is implemented in Xdebug 2. Clients Xdebug 2 is bundled with a simple command line client for the DBGp protocol. A simple command line client for the GDB protocol is bundled with Xdebug 1.3. Starting The Debugger In order to enable Xdebug's debugger you need to make some configuration settings in php.ini. After made all those settings Xdebug will still not start a debugging session automatically when a script is run. After a connection is made the output of the debug server is shown: Connect <?

Req jit. Remote PHP Debugging on Intel-based Macs with Komodo. I got a new computer.

Remote PHP Debugging on Intel-based Macs with Komodo

Yay! It's a Mac Pro. So naturally I want to set up my Drupal working environment on it. However, I use the Zend IDE and the Zend Studio Server debugger will not run on Intel-based Macs. No, seriously. I love my real-time debugging. Well, almost. So, starting with my new Mac Pro, I installed XCode Tools to get cvs and all the other command-line niceties. PHP 5 installed fine, but I got this unusual hiccup when starting Apache: [warn] module mod_php5.c is already added, skipping Commenting out the line AddModule mod_php5.c from /etc/httpd/users/+entropy-php.conf got rid of the warning. Next, it was time to set up Komodo for debugging.

PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/php5/bin" and then moved Apple's php binaries out of the namespace: sudo bashcd /usr/binmv php php-oldmv php-config php-config-oldmv phpize phpize-old I logged out and back in to activate the new PATH and tested: which phpusr/local/php5/bin/php I put this Now I started Komodo.

PHP Tutorial. Print Page - HOWTO: XDebug PHP module. To install the xdebug PHP module: 1.

Print Page - HOWTO: XDebug PHP module

Download the xdebug Windows PHP module for PHP 5.2 from this link: This will give you file php_xdebug-2.0.3-5.2.5.dll. 2. Place file php_xdebug-2.0.3-5.2.5.dll in folder C:\www\php5\ext\ 3. At the very end of the file, insert line: zend_extension_ts = "C:/www/php5/ext/php_xdebug-2.0.3-5.2.5.dll" 4. 5. A) URL and going down the page to the XDEBUG section about 3/4ths way down. b) You should also now see lines: Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies with Xdebug v2.0.3, Copyright (c) 2002-2007, by Derick Rethans ...by the Zend Engine 2 logo. Note that the Xdebug module has caused my Vista system to occasionally report that the Apache2.2 Service has crashed. There seems to be an issue with xdebug 2.0 and the php_mysql.dll and/or libmysql.dll. Some users have reported getting a "CLI has stopped working" popup.