Code debugging automation