Show debug message when PDF download fails