Xdebug and Symfony2 breakpoints stopping execution then disconnecting

I am having trouble getting breakpoints to work with symfony2. I can set a breakpoint anywhere in app.php before it reaches:

$request = Request::createFromGlobals();

and the debugger works as expected.

If I set the breakpoints anywhere after this phpstorm stops the execution and loads the debugger. Info get loaded, then it blinks and then it says disconnected and the debug info is gone.

Does anyone have any idea why this would be happening?

1 comment
Comment actions Permalink

Hi there,

1) What is your xdebug version ?

2) Check idea.log for possible messages (Help | Show Log in ...)

3) Collect more logs:

What will happen when you step in into $request = Request::createFromGlobals(); ??


Please sign in to leave a comment.