Is there a way to show variables during testing

I have lots of variables in my code that I need to teach and they change quite often, but I find console.log() really slow and annoying to place 5 down in every place I need them in, just to delete them later. If you could help it would be very appritiative, thx :slight_smile:

If you use the Cocos log API, you can disable them for the production version by just disabling the debug flag in build options. I have been doing this for some time.

How do I do this, and you also said disable but I want to enable showing live variable tracking

I mean, there is no such tracker, but if you use the log API of Cocos instead of the console.log API, you don’t have to remove them every time; instead, you can disable the debug option in the build configuration, and Cocos will remove those lines in the build process.