我使用 Eclipse 3.4.1 与 Zend Debugger 和 PDT 成功地调试了几个项目。我现在有一个使用 https://在本地运行的站点。无法在到达那里的 Eclipse 中设置调试配置。有任何想法吗?非常感谢,玛丽伊迪丝
最佳答案
如果您想查看您的应用程序发送/接收的内容,但 HTTPS 隐藏了它,那么您可以使用带有 stunel 的普通 HTTP 查询,它将 SSL“添加”到套接字传输。我用它来监视我的 axis2 应用程序:How to see what Axis2 sends and receives?
编辑:
stunnel
文档中有客户端无法使用 SSL 的示例:http://www.stunnel.org/examples/https_client.html
在您的情况下,您可以像这样配置 stunnel
:
[https]
; https://www.mylocalsecuresite.com:443/myapp/AppService
accept = 88
connect = www.mylocalsecuresite.com:443
然后在带有 URL 的 Eclipse 对话框中使用:
localhost:88
Eclipse 和 stunnel
之间的通信将以纯文本形式进行,但 stunnel
和 www.mylocalsecuresite.com:443
之间的通信将被加密。
关于ssl - 如何调试 https ://site in Eclipse with Zend debugger and PDT,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4181705/