debug begin