a more sensible setup for debug vs not