The Slim Framework support forum has moved to This Tender forum is no longer maintained or monitored.

Can I use XDEBUG 2.2.3 on PHP 5.3.10 with Slim 2.4.2

enrico.speranza's Avatar


02 Oct, 2014 09:12 AM

Hi to all,
my environment includes PHP 5.3.10 with XDEBUG 2.2.3 and NetBeans 7.4.
I need to use XDEBUG in my code but even if I set a breackpoint (like on line 1 in the code below) the debug session start but
doesn't inspect the code in my HTTP request.

1. $app->post('/register', function() use ($app) {

This issue is not just in this case but it is in any HTTP request so I am woundering if XDEBUG works in slim frameworks.

  1. 1 Posted by enrico.speranza on 10 Oct, 2014 10:44 AM

    enrico.speranza's Avatar

    Thank to all. Problem resolved. Check PHP and XDEBUG version!

  2. 2 Posted by Tyron on 08 Dec, 2015 08:00 AM

    Tyron's Avatar

    I am running PHP version 5.6.14
    Xdebug 2.2.5
    and Slim 3 RC 3

    On IDE PHPStorm

    I have enabled Xdebug and it debugs the index file however will not break at breakpoints the other php files in the project even though it runs the code.

    Please advise

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac