At this point we should be set to go ... both PHP, Eclipse and your Chrome Browser and plugin are ready for a run-time debugging session.
All you need to do now is
- In Eclipse, insert a breakpoint where you want to inspect the runtime code of your php application
Notice that there is a dot next to line 2 of the code above, if you want to include or remove a breakpoin just doubleclick on the side where the dot is supposed to appear.
- Enable the Xdebug plugin on Chrome, set it to Debug
- Call the PHP page application from Chrome
- Now Eclipse should prompt you to switch to the Debug perspective, accept ... you can go back to the PHP perspective later if you want, and it will stop at your first breakpoint
You should now have all you need. If for some reason it is not working for you try to contact me from this site or google is your friend
- << Prev