ssl - 如何调试 https ://site in Eclipse with Zend debugger and PDT

标签 ssl eclipse-pdt zend-debugger

我使用 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 之间的通信将以纯文本形式进行,但 stunnelwww.mylocalsecuresite.com:443 之间的通信将被加密。

关于ssl - 如何调试 https ://site in Eclipse with Zend debugger and PDT,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4181705/

相关文章:

breakpoints - 'no breakpoints stop`最终在Eclipse PDT + Xdebug中解决了吗?

macos - Eclipse 工作区作为 XAMPP 中的 htdocs 在 Mac 中不起作用?

php - PayPal:IPN 和 PDT 协同工作 - 单项支付系统 - 无购物车

ajax - 使用 Eclipse PDT 调试具有并发请求的 Ajax 页面

php - 使用 Jetbrains PHPStorm 覆盖 PHPUnit 0%

php - 移动到 SSL 后页面加载后丢失 session

C++ 和 Curl : Failed to receive handshake, 需要更多数据

ssl - SNI(服务器名称指示)适用于 TLS 1.2,但在 TLS 1.0 上被服务器拒绝

SSLITE 错误 - 使用 Websphere 并使用 apache 客户端 3.x 调用 Web 服务