Configure) configuration 1. Search for [XDebug] in php. ini and set the original configuration information. xdeb
Prepare the environment XAMPP1.8.2 [PHP 5.4.16]; Xdebugv2.2.3; Eclipse for PHPDevelopers (http://archive.eclipse.org/technology/epp/downloads/release/galileo/SR2/eclipse-php-galileo-SR2-win32.zip) configuration 1 in php. ini search [XDebug], set the original configuration information; xdeb
Prepare the environment
XAMPP1.8.2 [PHP 5.4.16];
Xdebug v2.2.3;
Eclipse for PHPDevelopers
Http://archive.eclipse.org/technology/epp/downloads/release/galileo/SR2/eclipse-php-galileo-SR2-win32.zip)
Configuration
1. Search for [XDebug] in php. ini and set the original configuration information.
; Xdebug. remote_enable = 1
; Xdebug. remote_host = "localhost"
; Xdebug. remote_port = 9000
; Xdebug. remote_handler = "dbgp"
; Zend_extension = "C: \ xampp \ php \ xdebug \ php_xdebug-2.1.0-5.2-vc6.dll"
Replace with (according to your environment)
Zend_extension = "C: \ xampp \ php \ ext \ php_xdebug-2.2.3-5.4-vc9.dll"
Xdebug. profiler_append = 0
Xdebug. profiler_enable = 1
Xdebug. profiler_enable_trigger = 0
Xdebug. profiler_output_dir = "C: \ xampp \ tmp"
Xdebug. profiler_output_name = "cachegrind. out. % t-% s"
Xdebug. remote_enable = 1
Xdebug. remote_handler = "dbgp"
Xdebug. remote_host = "127.0.0.1"
Xdebug. remote_port = 9000
Xdebug. trace_output_dir = "C: \ xampp \ tmp"
2. Restart apache
3. Go to eclipse, select the file to debug, right-click debug as-> debugconfigrations, and open the configuration page.
, According to the Red Circle Configuration
Click debug to start php debuging ......