How to debug an https:// site in Eclipse with Zend debugger and PDT
I have been successfully debugging several projects using Eclipse 3.4.1 with Zend Debugger and PDT. I now have a site running locally using https://. Have not been able to set a Debug Configuration in Eclipse 开发者_StackOverflow社区that gets there. any ideas? Many thanks, Mary Edith
If you want to see what is send/received by your application, but HTTPS hides it, then you can use normal HTTP query with stunel which "adds" SSL to socket transmission. I use it to monitor my axis2 application: How to see what Axis2 sends and receives?
EDIT:
There is example in stunnel
doc where client cannot use SSL: http://www.stunnel.org/examples/https_client.html
In your case you can configure stunnel
like:
[https]
; https://www.mylocalsecuresite.com:443/myapp/AppService
accept = 88
connect = www.mylocalsecuresite.com:443
Then in Eclipse dialog with URL use:
localhost:88
Communication between Eclipse and stunnel
will be in plain text, but between stunnel
and www.mylocalsecuresite.com:443
will be encrypted.
精彩评论