Open tebbbb opened 4 months ago
fixed it myself by using FROM dunglas/frankenphp:1.2.2-php8.3.9, but xdebug doesnt seem to work. Do i need to change anything for it to work? I can see it being enabled in phpinfo and the modes are also correct. Works with apache, just not with frankenphp
[xdebug]
xdebug.mode = debug,develop
xdebug.start_with_request = yes
xdebug.client_host = host.docker.internal
xdebug.client_port = 9003
@dunglas what's needed here?
This seems to be the same issue as https://github.com/dunglas/frankenphp/issues/931#issuecomment-2243912889
Maybe should we add a special flag for XDebug?
@dunglas I'm not sure about the specifics needed for Octane but anything to above the above issue is welcome yeah.
Basically, we have to disable the worker mode and run in "normal" (CGI-like) mode when using Xdebug.
A feature that will allow us to use the worker mode with Xdebug is being developed by Xdebug, but in the meantime, it could be nice to add a flag to disable the worker mode. Something like artisan frankenphp:start --xdebug
or --no-worker
?
Octane Version
1.0.3
Laravel Version
11.8.0
PHP Version
8.3
What server type are you using?
FrankenPHP
Server Version
1.0.3
Database Driver & Version
No response
Description
Using the latest laravel version as of today.
WARN Your FrankenPHP binary version (1.0.3) may be incompatible with Octane.
Using FROM dunglas/frankenphp:1.0-php8.3
Steps To Reproduce
see above