Giter VIP home page Giter VIP logo

Comments (6)

withinboredom avatar withinboredom commented on September 12, 2024 1

I'm able to reproduce on a project I'm working on. Disabling xdebug seems to solve it. I'll step through with gdb later and see what causes itโ€”like yours, it seems to be an issue with ending the request.

from frankenphp.

withinboredom avatar withinboredom commented on September 12, 2024

If you just exit at a random place in the script, does it still not work?

from frankenphp.

nuryagdym avatar nuryagdym commented on September 12, 2024

When I put exit into the public/index.php from the start worker is restarting continuously.
I let the first worker start and then put exit at the start of index.php.
Then I make the first request, this request works because it is already in memory.
Then second request goes into infinite loading, no new logs in container logs, seems like index.php is not run at all.

Weirdly setting xdebug.start_with_request=yes fixes the issue.

from frankenphp.

withinboredom avatar withinboredom commented on September 12, 2024

Interesting. If you turn on xdebug logs, does it give any useful information? I wonder if this might be an xdebug bug?

from frankenphp.

nuryagdym avatar nuryagdym commented on September 12, 2024

For the first request I see following logs

[281472447540704] Log opened at 2024-08-15 07:40:47.634757
[281472447540704] [Config] INFO: Control socket set up succesfully: '@xdebug-ctrl.281472447540704'
[281472447540704] [Config] INFO: Trigger value for 'XDEBUG_TRIGGER' not found, falling back to 'XDEBUG_SESSION'
[281472447540704] [Config] INFO: Trigger value for 'XDEBUG_SESSION' not found, so not activating

But no zdebug logs for the second request

from frankenphp.

nuryagdym avatar nuryagdym commented on September 12, 2024

I tried now without a worker mode, it is working properly when worker mode is disabled.

from frankenphp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.