making debug compatible with brunch