Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Kevin Schroeder's Blog:
Debugging an RPC call in Zend Framework
Jul 26, 2010 @ 08:37:49

In a quick new post to his blog today Kevin Schroeder shows you how to debug an RPC call in your Zend Framework application.

Just a quickie. Do you ever want to debug an RPC call to XML-RPC or Soap or something like that using Zend Studio/PDT and the Zend Debugger? What I mean is debug the RPC call, not the request making the RPC call. Doing that is actually quite simple. I have some code here to share that I recently (as in 5 minutes ago, used).

His code snippet shows an "if" conditional that sets values on a set of cookies that the Zend Debugger will pick up on and start the debugging process (with settings like start_debug, debug_coverage and debug_start_session. He also explains the four you really need to know about in a bit more detail.

tagged: debug zendframework rpc snippet

Link: