[misc] enable debug support

Emit the options and the response in each request.

Used the events `debug::request` and `debug::response`