You could actually do this in maya, with a eval trick. However mel is so simpe that you rarely need any of this.
Thing is we had a competition in school at who does better code those whoa have a acces to debugger and use it frequently or dose that do not. Surprisingly the ones without a debugger made better code, and also coded faster because they used much better practices writing it.