random: make it possible to enable debugging without rebuild