Skip to content

Plugin crashes at random when breakpoint_include_return_value is set #1134

@tjmr1

Description

@tjmr1

Unknown circumstances leading to the crash - there is no evidence of what is causing the issue in either the xdebug log file (level set to 10) or the VSCode debug console. I determined it is due to the plugin by a process of elimination. I am using the latest version of the plugin and xdebug (3.5.3). The circumstances as follows:

  1. The only error I was able to find is in the php-fpm error log which contains [10-Jun-2026 09:50:35] WARNING: [pool www] child 4863 exited on signal 11 (SIGSEGV) after 8.754265 seconds from start
  2. the crash occurs when vscode is connected to the debugging session, even if no breakpoints or anything are set.
  3. the debugger session is being launched by trigger from the browser and completes normally if VSCode is not listening
  4. the CLI debugger when sending the "run" command after attaching completes successfully
  5. I attempted to set breakpoints and step through the point of failure, but the line on which it fails appeared to change at random.
  6. After inspecting the initialisation/handshake output in the xdebug log file I was able to prevent it from crashing by sending "xdebugSettings": { "breakpoint_include_return_value" : 0 }, in the launch.json file

Please let me know if you want me to dump any output from the environment, I could not find any other output of use while trying to diagnose the issue.

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