Add debug mode to srlparser