-
Notifications
You must be signed in to change notification settings - Fork 2
Configure eclipse with xdebug
Flavius Aspra edited this page Feb 15, 2012
·
1 revision
Status: IN WORK
In this tutorial I've used Arch Linux OS, but the configuration instructions of the programs should be the same on Windows OS.
WARNING
If You Are Using Windows Vista/7:
- Do not pair 32bit Eclipse and 64bit JRE/JDK or vice versa. Use 32bit Eclipse on 32bit JRE/JDK, or 64bit Eclipse on 64bit JRE/JDK.
- Do not install Eclipse under 'Program Files' or 'Program Files(x86)' folder.
Using Linux distro:
- Make sure SWT requirements if you have troubles with Content Assist or Internal Web Browser.
- CSS styles appear in Content Assist Information.
- Internal Web Browser is unavailable (cannot be opened or such).
In order to configure Eclipse with Xdebug you need to fallow this steps:
-
Install Eclipse on Arch Linux.
-
Install only PDT, as described here.
-
Install Xdebug.
- On Arch Linux,
#pacman -S xdebugto install the program. - After
xdebuginstalls make sure that you have in/etc/php/conf.d/xdebug.inithe fallowing settings:
zend_extension=/usr/lib/php/modules/xdebug.so
xdebug.remote_enable=on
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_handler=dbgp - On Arch Linux,
-
Install firefox add-on easy Xdebug.
-
Run Eclipse.