hphp_debugger_attached

Quickly determine if a debugger is attached to this process and configured to debug this thread

function hphp_debugger_attached(): bool;

Returns

  • bool - - TRUE if a debugger is attached, FALSE if not.