Debug should be toggleable