using external debug command