Make format scripts respect the debug: option

At least for 'filled tag with x' debug