Yes, that’s a good workaround.
I’m not sure why you need this, but there is also a plug-in somewhere on this forum that allows you to step through a macro line by line, though it does have the limitation that it does not support calling Nyquist plug-ins in the macro… Found it: Enhancement for Macros - #10 by steve