GPGS: Add debug output for desktop and html project