News Feed
Sections




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

Kevin Schroeder's Blog:
Remote Debugging with the Zend Debugger and PHPUnit
May 01, 2012 @ 09:27:47

Kevin Schroeder has a quick new post with a one-liner you can use to get remote debugging working with Zend Debugger and PHPUnit.

I'm trying to do some remote debugging with PHPUnit on a remote system. I was following the rules I had written about in a previous article but for some reason I could not get path mapping to work. So I figured I'd ping the Studio lead developer because as soon as I did that I'd get it to work. Well, that's what happened.

His fix comes in the form of setting a command-line parameter, QUERY_STRING, with the correct parameter order so the paths will get mapped back to the correct project. This parameter is a URL-encoded set of parameters that do things like start the debugging, set up the hostname for the debugger to point to and map the "original URL" back to your choice of values.

0 comments voice your opinion now!
remote debug phpunit zenddebugger querystring parameter variable


blog comments powered by Disqus

Similar Posts

Dutch Web Alliance: The definitive remote debug and unittest with PHPStorm guide: part 7

Inviqa techPortal: Functionally Testing You Application Using Mink

VG Tech Blog: Mocking the File System Using PHPUnit and vfsStream

DZone.com: Hardening PHP: How to securely include remote code (part 1)

Sebastian Bergmann\'s Blog: PHPUnit Support in PHP IDEs


Community Events

Don't see your event here?
Let us know!


release laravel api extension voicesoftheelephpant introduction library opinion development framework language unittest series feature interview wordpress laravel5 community podcast threedevsandamaybe

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework