better debug for test_debug