Skip to content

FrankenPHP and disabled statement handler #64

@carlos-granados

Description

@carlos-granados

If frankenphp loads our debugger and no IDE is connected, in our RINIT we will not enable the compiler flag that allows calling the statement handler.

If the compiler flag is not set, this means that the code to call the statement handler will not be added to any code compiled into opcodes. If we later on connect the debugger, there might be code in the opcode cache which we will not be able to debug. Would there be a way to invalidate the opcode cache if we connect to a debugger in a frankenphp "request"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions