Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you configure xdebug to work with https?

Tags:

php

https

xdebug

I can't get xdebug to catch on a breakpoint using https, but it works fine with http. Here is the xdebug config in php.ini:

xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_autostart = 0
xdebug.remote_connect_back = 0
xdebug.idekey = "netbeans-xdebug"

I've looked over the xdebug docs but can't find any mention of https. Is there any way to make this work?

like image 568
DShook Avatar asked Apr 30 '26 22:04

DShook


1 Answers

I had the same issue with PHPStorm/IDEA. Had to change host port from 80 to 443 in Servers settings

IDEA: Preferences -> Languages & Frameworks -> PHP -> Servers
PHPStorm: Settings > PHP > Servers

like image 70
simPod Avatar answered May 03 '26 12:05

simPod



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!