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.

  1. Create a single WebSphere sMash PHP Application project which contains both the extension to be debugged and the PHP script which invokes it.
  2. Start the project using the Debug as->WebSphere sMash Application option.
  3. Place breakpoints where desired.
  4. Invoke the script from a Web browser.

Version 1.0.0.3.25591