Improve debug message with proxy