rename DEBUG_FLAG_VARIABLES -> DEBUG_FLAG_REQUESTS
implement debug request handling in debug() (WIP)