I'm creating a complex battle system with hundreds of local variables. I need to print them to console to see if everything works.
But as of now only global variables can be printed, so I have to make all my local variables global, then when I'm done go back and turn them all back to local, which takes a long time every time. What is the work around to this? How do you debug local variables?
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!