Skip to content

XDebug? #1272

@rkyoku

Description

@rkyoku

Hi,

Sorry, I wanted to use Slack for asking this, but the link to Slack on the F3 website does not work.

I just spent a couple of hours pulling my hair because I was not seeing the XDebug orange table in this brand new prototype-project I am writing (and which only contains a couple of lines of code for now). I thought I mis-installed it, mis-configured it, or whatever.

Finally, I found out that it was the F3's error handling that was displaying an error in stead of XDebug, because of course XDebug does not show the orange tables for caught errors.

I did not find anything on the topic: how can I show the XDebug orange tables with F3? Do I have to maybe trigger a custom Exception in the 'ONERROR' custom callback?

I'm surprised that I did not find anything on the topic, which means that either nobody is using XDebug or, way more likely, that people have the orange tables but I did not because I did something wrong in these 2 or 3 lines of code.

Thank you kindly,

EDIT: I looked into another project that I did using F3 several years ago, and I found out that I was using restore_error_handler, but it's not ideal as I have to catch errors myself instead of leveraging F3's error handler

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions