Use indicator api instead of debugging.