WMM: Add debugging output (not to merge)

This is for tracking down https://github.com/PhoenixPilot/PhoenixPilot/issues/209

Just trying to get a portable built