by Kevin Schroeder | 8:30 am

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.

Comments

dstockto

No & between start_debug=1 and use_remote=1?

May 27.2012 | 06:29 pm

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.