Step 2: Debug and test
To enable the use of XDebug you need to have XDebug installed and configured. PHsPeed will validate your config script and show it in the IDE for you to modify. The configuration of XDebug might differ, but within the WAMP package the php.ini file should have an entry like below (depending on your php version the dll might have a different name). Be aware, it is possible that PHsPeed will find more than one php.ini. That is because phpspeed will run php.exe when needed which is another path than the embedded php from the apache webserver.
; XDEBUG Extension zend_extension = "c:/wamp/bin/php/php5.5.12/zend_ext/php_xdebug-2.2.5-5.5-vc11-x86_64.dll" ; [xdebug] xdebug.remote_enable = on xdebug.extended_info = 1 xdebug.profiler_enable = on xdebug.profiler_enable_trigger = on xdebug.profiler_output_name = cachegrind.out.%t.%p xdebug.profiler_output_dir = "c:/wamp/tmp" xdebug.show_local_vars=0 xdebug.remote_log="c:/wamp/tmp/dbg.log"
|While debugging you can investigate the values of a variable by hovering the mouse over the variable.|
|Set and reset breakpoints to follow the flow of your program. Step into, step over, all common debugging operations are available.|
|Inspect the values of variables, arrays and objects up to 7 levels deep.|
|Inspect the values of session variables on input and output|
Inspect the values of raw JSON messages that are returned to your forms.
|Inspect the parsed JSON messages|
|Inspect the values of $_Post|
|Inspect the values of $_Get|