|Eclipse and PHP debugger XDebug [message #1198782]
||Wed, 20 November 2013 14:04
i have some issue to correctly setup the PHP debugger in Eclipse Kepler SR1 build 20130919-0819.
[ I don't know if this is the right place, so please moderators, if it's not the correct place, just move this post to the appropriate forum. thx. ]
my web server is a virtual machine with a particular fixed IP address, where xdebug is installed. Server works perfectly now since 1,5 year.
i had to reinstall Eclipse platform on my computer and unfortunately i lost the settings for remote debugging.
i watched several youtube videos how to setup everything on server (virtual machine) and on my local computer (the debugging machine), however i have some issue while debugging.
i use Chrome and firefox with xdebug plugins to catch the breakpoints.
when FF or chrome trigger the breakpoint, eclipse get the focus and display the message attached as attachment.
i guess my issue is when i setup the Windows > Preferences > PHP > Debug > PHP Servers.
Has someone already been successful to that ?
I need your help.
[Updated on: Thu, 21 November 2013 16:13]
Report message to a moderator
|Re: Eclipse and PHP debugger XDebug [message #1207098 is a reply to message #1201917]
||Sun, 24 November 2013 11:38
thx for your answer.|
Here it's what i've done.
1. as my webserver works under fedora in a virtual machine and my debugging machine is under Windows 7, i install a sshfs manager too to map the linux web root of the project as a windows drive "T".
2. Next step i create a new project based on source file that i can get from mapped drive T.
3. i set up debugger information as server mapping.
4. i setup breakpoint
5. i run the web page in chrome with xdebug plugins to trigger the breakpoint once on the function to debug.
unfortunately no breakpoint is triggered from remote debugging.
I did the same with another IDE (PHPStrom trial version) and it worked in 5 minutes. I would rather use Eclipse as it is free and it is my favorite IDE for development. SO where is the problem with remote debugging ?
Powered by FUDForum
. Page generated in 0.02042 seconds