Fix debug logging
Some of the ifdef'd out debug logging code introduced in 05212069 was broken.
This fixes it and adds a CI job that builds with all the extra debug logging enabled to prevent such breakage from happening again.
Some of the ifdef'd out debug logging code introduced in 05212069 was broken.
This fixes it and adds a CI job that builds with all the extra debug logging enabled to prevent such breakage from happening again.