Log request headers and URL in debug mode