

no computer for me any more :-)
i recommend 'the easyest xdebug' since i think it is the overall better addon. it was fun to write this one.
no new versions of this one. see you around :D
if you have issues or would like to commit something there is a github page https://github.com/windwerfer/easyxdebug_refreshed
if you are interested in taking this addon over, please feel free to write me a line, since i will take a break from comupter around summer 2016.
for below firefox 29 versions please download version 0.6.2 from the version history
how it works: you get 2 icons in the url bar to set the following 2 debug cookies:
$cookies[XDEBUG_SESSION]='netbeans-xdebug';
$cookies[XDEBUG_PROFILE]='1';
it works perfectly with eclipse (probably netbeans as well)
Tip: i recently started to set the XDEBUG_PROFILE cookie to something like 'fsdo_secret_password_o8355#oeo034lld' and check for it in my php files to enable error reporting on my live site only when this cookie is set.
version histroy:
-0.9.4 e10 support + setcookie now in separate file (the recommended way)
-0.7.0 ff 29 compatibility issues solved
-0.6.2.1 cookies time out by default on browser close (accidentially removed)
-0.5.1 redone the interior -> code simpler/more readable
-0.4.1 on tab change / reload the icons now show if the cookies are set or not
-0.4.0 you can set different cookie values/names/timeouts in the preferences ( addon manager->easy debug (with moveable icon)->preferences )
for it to get working you need to install xdebug and configure it do do remote debugging in eclipse/netbeans (if the steps at the bottom dont work for you try google with something like 'eclipse xdebug remote debugging')
when its working you can debug any php file you view in your browser on your localhost. The cookie (when set) tells xdebug to do the compiling and eclipse (when started) hooks into xdebug (send it the breakpoints you define) and gets the live data (and pauses the run of the script while you debug)..
you can walk through the code line by line, jump to breakpoints and even manipulate the variables on the run.. they did a great job!
this extention just helps to make the process smoother..
on ubuntu to enable xdebug i only needed the following (no garantie it works for you):
install xdebug:
sudo apt-get install php5-xdebug
edit /etc/php5/conf.d/xdebug.ini:
zend_extension/usr/lib/php5/20090626/xdebug.so
xdebug.remote_enable1
xdebug.remote_handledbgp
xdebug.remote_hostlocalhost
xdebug.remote_port9000
#xdebug.profiler_enable1
xdebug.profiler_enable_trigger 1
xdebug.profiler_output_namexdebug_profile.%R-%u
xdebug.profiler_output_dir/home/barthy/sicheres_laufwerk/web/https/xdebug_profiler
configur eclipse:
File - New Project - PHP Project
Name your project
Choose Create project at existing location (from existing source) and browse to your Magento root folder (as used by xampp)
Hit Finish and wait for the project to create
Set up xdebug as your debugger in eclipse
Window - Preferences - PHP - Debug
Change the PHP debugger to Xdebug
Click configure
Set Accept remote session (JIT) to localhost - OK
Apply - OK
have fun!
i recommend 'the easyest xdebug' since i think it is the overall better addon. it was fun to write this one.
no new versions of this one. see you around :D
if you have issues or would like to commit something there is a github page https://github.com/windwerfer/easyxdebug_refreshed
if you are interested in taking this addon over, please feel free to write me a line, since i will take a break from comupter around summer 2016.
for below firefox 29 versions please download version 0.6.2 from the version history
how it works: you get 2 icons in the url bar to set the following 2 debug cookies:
$cookies[XDEBUG_SESSION]='netbeans-xdebug';
$cookies[XDEBUG_PROFILE]='1';
it works perfectly with eclipse (probably netbeans as well)
Tip: i recently started to set the XDEBUG_PROFILE cookie to something like 'fsdo_secret_password_o8355#oeo034lld' and check for it in my php files to enable error reporting on my live site only when this cookie is set.
version histroy:
-0.9.4 e10 support + setcookie now in separate file (the recommended way)
-0.7.0 ff 29 compatibility issues solved
-0.6.2.1 cookies time out by default on browser close (accidentially removed)
-0.5.1 redone the interior -> code simpler/more readable
-0.4.1 on tab change / reload the icons now show if the cookies are set or not
-0.4.0 you can set different cookie values/names/timeouts in the preferences ( addon manager->easy debug (with moveable icon)->preferences )
for it to get working you need to install xdebug and configure it do do remote debugging in eclipse/netbeans (if the steps at the bottom dont work for you try google with something like 'eclipse xdebug remote debugging')
when its working you can debug any php file you view in your browser on your localhost. The cookie (when set) tells xdebug to do the compiling and eclipse (when started) hooks into xdebug (send it the breakpoints you define) and gets the live data (and pauses the run of the script while you debug)..
you can walk through the code line by line, jump to breakpoints and even manipulate the variables on the run.. they did a great job!
this extention just helps to make the process smoother..
on ubuntu to enable xdebug i only needed the following (no garantie it works for you):
install xdebug:
sudo apt-get install php5-xdebug
edit /etc/php5/conf.d/xdebug.ini:
zend_extension/usr/lib/php5/20090626/xdebug.so
xdebug.remote_enable1
xdebug.remote_handledbgp
xdebug.remote_hostlocalhost
xdebug.remote_port9000
#xdebug.profiler_enable1
xdebug.profiler_enable_trigger 1
xdebug.profiler_output_namexdebug_profile.%R-%u
xdebug.profiler_output_dir/home/barthy/sicheres_laufwerk/web/https/xdebug_profiler
configur eclipse:
File - New Project - PHP Project
Name your project
Choose Create project at existing location (from existing source) and browse to your Magento root folder (as used by xampp)
Hit Finish and wait for the project to create
Set up xdebug as your debugger in eclipse
Window - Preferences - PHP - Debug
Change the PHP debugger to Xdebug
Click configure
Set Accept remote session (JIT) to localhost - OK
Apply - OK
have fun!