开发者

Using xdebug to debug a page that is remotely included into another page

Normally I have a site that runs on a webserver (say, http://myserver/mysite) and I can browse开发者_开发技巧 and debug it fine. For a particular project we have a setup where there is an extra application server proxying requests to my site.

In other words, I browse to http://someRemoteServer/mysite - this server does some single sign on magic and actually includes http://myserver/mysite. My browser thinks it's looking at http://someRemoteServer/mysite, but it's actually executing on http://myserver/mysite

Is there a way to get debugging to work in such a way that I can use this setup while still step-debugging through the code as it executes on my machine through the proxy URL?

I have limited influence on someRemoteServer, but full control over myServer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜