Remote Debugging with the 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.  It turns out that some of the debugging URL parameters seem to mess up the remote path mapping feature in Studio when working over the CLI.  What I found works is this.

1
export QUERY_STRING="start_debug=1use_remote=1&debug_port=10137&debug_host=192.168.0.254&original_url=http%3A%2F%2Fremoteurl.com"

The original_url parameter is important because that’s how the path mapping maps the path to the proper project.

1 comments
dstockto
dstockto

No & between start_debug=1 and use_remote=1?

Post Navigation

Web Analytics