new debug system