-
-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHPStorm cannot use xdebug #141
Comments
I filed https://youtrack.jetbrains.com/issue/WI-71443 with them as well. |
We should also fix it on our side, we can easily set this variable. |
It works fine when it is truly remote (like running on a server). I only get this error when running on |
FWIW, in Caddy's fastcgi transport, we made a change to ensure a default of |
Yes it was. Maybe could we share it in some way btw. |
We have caddyserver/caddy#4378 which is related to that, i.e. splitting out the fastcgi transport to its own package. If you'd like to help with that, that'd be cool. |
This is probably on PHPStorm, but it fails to do remote step debugging because
$_SERVER['SERVER_PORT']
is unset.From looking at the code around https://github.com/dunglas/frankenphp/blob/main/cgi.go#L126, it looks like it should be set, but a simple
var_dump($_SERVER)
shows that it is indeed, not set.The text was updated successfully, but these errors were encountered: