+htp #15920 import DebuggingDirectives from spray

Basically a one-to-one port of the original spray-Directives.

Based on #16157.

/cc @sirthias