how to show a debug message?

Hi guys, is there a simple script that i can use to pop an alert on screen while testing game?
like alert("ABC");
Thanks
Maybe you should say whether you are using XP, VX, or VX Ace. There are slight changes in the code for each of those versions, even though they are all RGSSx.
I am using RPGVXACE, so it's RGSS3 i think
Use the console, that is there for debugging.
To print out messages to the console, you can use these script calls:
Code:
print "your text here"  # No auto-line break at the end!
p "your text here"      # Auto-line break used at the end!
puts "your text here"   # Auto-line break used at the end!
The console will print out whatever you tell it to, and it's much less annoying than a popup window.
All 3 of the above methods will do the same, more or less, except the first one will not add a line break at the end automatically, so using multiple print calls will join the texts eventually.
I am using RPGVXACE, so it's RGSS3 i think
It is 🙂
@Sixth Err sorry but how to open Console?
There should be an option to enable it in the editor, something like "Show console".
Enable that and the console will automatically open with the game during playtests.
Cool! Thank you
There should be an option to enable it in the editor, something like "Show console".
Enable that and the console will automatically open with the game during playtests.
Sorry @Sixth but now testing my game, it seem those codes you suggested doesn't work
my console is blank
upload_2018-3-11_14-22-36.png


While i have this common event run parallel on map
upload_2018-3-11_14-23-12.png
It does work. Instead of putting on complex event, why not confirming if it works or not at first?
You make an event, action button trigger, puts that script call, see if console prints anything
If it prints, then there must be something wrong in your event.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-show-a-debug-message.92486/