Issue #5933: fixed spine debug mode

fixed spine debug mode