In this video I'm explaining how xdebug_info() can be used to obtain about which modes Xdebug has enabled, and whether some compile flags have been set.
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.