Show stack trace for fatal errors if xdebug is loaded.
Merge pull request #5053 from dereuromark/master-xdebug

Show stack trace for fatal errors if xdebug is loaded.