Debugging a PHP extension in Eclipse
You can debug PHP Extensions written in Java™ using the debugging features of Eclipse.
Prerequisite: Ensure that the Eclipse PHP debugging environment is properly set up.
- Create a single WebSphere sMash PHP Application project which contains both the extension to be debugged and the PHP script which invokes it.
- Start the project using the Debug as->WebSphere sMash Application option.
- Place breakpoints where desired.
- Invoke the script from a Web browser.