Debug over HTTPS

It that possible to use the debugger over HTTPS connection?
I tried almost everything, but the connection url alway try to connect to HTTP://local.

My Configuration for the Debugger inside the PHPStorm is:
Host: https://mylocal.local
Port: 443
Debugger: XDebug

the configuration of the PHP Application is:

Start url: /home
The url that is showed is: http://https://wh.local:443/admin_home

I also tried to not put https:// on the Server Configuration but the connect URL was: http://wh.local:443/admin_home


Is there any solution to this problem?

Thanks

10 comments
Comment actions Permalink

Hi there,

Check comments in this ticket: http://youtrack.jetbrains.com/issue/WI-3033

Few possible solutions (that work for me):

  1. Use "PHP Web Application" type of Run/Debug Configuration -- it's possible to enter https:// there
  2. Do not initiate debug session from IDE -- just use that "red phone handle button" and initiate debug session from browser (via bookmarklet or some browser extension) -- just like described here (for example): http://confluence.jetbrains.com/display/WI/Zero-Configuration+debugging+with+PhpStorm+2.0
0
Comment actions Permalink

In 2018.2 the "PHP Web Application" option isn't present anymore..

0
Comment actions Permalink

>In 2018.2 the "PHP Web Application" option isn't present anymore..

It's called "PHP Web Page" now.

0
Comment actions Permalink

I got this working, after adding host, port and Debugger type we just need to update start URL to https://www.example.local and it works.

 

0
Comment actions Permalink

this is a nice product but they are not trying to reproduce these issues and its not commercially viable

Do you have a ticket or report number we could look into (if you've reported one)?
0
Comment actions Permalink

https://youtrack.jetbrains.com/issue/WI-14599

I am considering migrating to PHPStorm from PHPEd, and this is the first issue I ran into. Makes PHPStorm feel limited and unpolished if it can't even configure an https server. Not a good first impression.

0
Comment actions Permalink

Is there any idea to add ports to a single server setting? like this:

localhost:80

localhost:443

to => localhost:80/443

Can this feature add to the new version PHPStorm?

0
Comment actions Permalink

Do you mind me asking if there is any specific reason why would you like to add two ports at once?

0
Comment actions Permalink

There is no very special reason for it. It will be nice to those who have too many local server, now I have to set all server twice in servers configure. Or it has some way import all servers.
It will be OK there is no feature for it😄

0
Comment actions Permalink

In fact, you may always submit a feature request on a public tracker. Just in case, here is the link:

https://youtrack.jetbrains.com/newIssue

0

Please sign in to leave a comment.