better test for debug