sig
  type debug_target = [ `Any | `Process of int | `Thread of int ]
  val enable : bool Stdlib.ref
  val set_debug_mode : bool -> unit
  val set_debug_target : Equeue.Debug.debug_target -> unit
  val test_debug_target : Equeue.Debug.debug_target -> bool
end