PhpRiot
News Archive
Related Articles
PhpRiot Newsletter
Your Email Address:

More information

Kevin Schroeder's Blog: Debugging an RPC call in Zend Framework

Note: This article was originally published at PHPDeveloper on 26 July 2010.
PHPDeveloper

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.