Add debug for SVM