debug mode and selctl