Like your comment says, you generally need to have the remote_mode set to 'jit'.
If debugging isn't working, there are a few things you can check:
- Add a
xdebug_break();
line in your code, and see if the debugger fires.
Add some logging into your php.ini/xdebug.ini file:
xdebug.remote_log="C:\temp\xdebug.log"
Look at that log file to see if you are getting breakpoint events mentioned.
- Check phpinfo() to see you have output like this:
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with Xdebug v2.0.5, Copyright (c) 2002-2008, by Derick Rethans
If you don't have the "with Xdebug" line, even if you have a complete set of xdebug options listed, you will get output, xdebug_break() debugging, but no user-set breakpoints. This could also be your problem with exception breakpoints.
The general cause for this is loading the xdebug extensions the wrong way. You need to load it as zend_extension=/path/to/xdebug.so
- remove any other lines loading it starting with "extension=" or "zend_extension_ts=".