I in conjunction with and I want the sites to open in the browser using the https protocol instead of http when clicking "Run -> Debug".

Currently storm settings:

server enter image description here

config

enter image description here

As can be seen from the second picture, it automatically sets the starting URL: http : //test.lo/. How to remake on https?

I want to note that sites with http debugate quite to themselves, i.e. debug is configured. Also, if you click Debug , and then in the open debug sessions, add the letter s to go to https, it will also pick up. But each time adding a letter is not an option.

  • Alexey, what does it mean to debat sites normally you develop api and test it, what is it for you? If you can throw a link to a good article on this topic. - spectre_it
  • So, if you write a full, rather than a relative, in the start URL, will it fail? - D-side
  • @ stack-it well, not global sites of course debug ...)) This means that on those sites that are installed on the local server and open at http: // .... - debugging works quite well and when you click on Debug opens a browser on the desired address and debugging begins .. and if the site is locally installed and it opens only via https, then I don’t know where to twist twists to open the correct url - Aleksey Shimansky
  • @ D-side for sure. it seems it should work out. although I do not like the absolute, but this option should work - Alexey Shimansky

1 answer 1

PHPStorm understands the full URL with the protocol.

 Start Url: https://test.lo/ 

And just in case, in the server settings still set port 443.

  • yes, the absolute path really helped. port 443 was not even needed - Alexey Shimansky