Additional debug information and improved logging for development