Is there a way to use game_interpreter in the console?

Hey guys,

Im trying to find how to use game_interpreter in the console, because right now i have to keep sending console.logs through events, and having to restart the game each time, if i wanna test something new. I sort of get that game_interpreter is connected to the specific events that you call it from, but perhaps there is a way to use it in console anyway?
There are many interpreters - one for the map, and one for each event. So you do have to access it from the specific event.

What are you trying to do?
There are many interpreters - one for the map, and one for each event. So you do have to access it from the specific event.

What are you trying to do?
Im using the console log to practice scripting - reactions and such. So i'd like to access a event interpreter to test stuff out. The other way as far as i know is to put console.logs with stuff you wish to test in events, boot the game, activate the event, and look in your console log, but id rather just test it out without doing all that.
but why do you need to access the event's interpreter to test? What is it that you're testing? I do heaps of stuff in the console, without putting logging into the game, but I've never had to access an event's interpreter.
im trying to analyse how rpg maker mv works, so im trying to look up all the functions and objects, and whatever in the rpg maker mv console. And currently im trying to learn how game_interpreter is working. Is there a better way to look it up? Currently I just start up the game and use the console in there.
I just read the Game_Interpreter code.
I just read the Game_Interpreter code.
I like how the console gives suggestions to the contents of classes and stuff, makes it more clear to me. So im assuming you dont know how to access game_interpreter of specific events in the console? Or is it not even possible?
It would be something along the lines of $gameMap.event(5)._interpreter I imagine. Have never tested it.

Something else you could try is to place a breakpoint and just step through the code, but you'd only want to have a single event as you don't want it to break in the same place for every event, when you only want to look at one.
Should just be $gameMap._interpreter for the map interpreter. There's also one for the battle scene ($gameTroop._interpreter), one for each parallel event ($gameMap.event(id)._interpreter like @Shaz suggested), and what I think is a failsafe for common events if called without context?

For details, try searching rpg_objects.js for "new Game_Interpreter".
@Shaz @caethyril Thanks guys, i think i know enough now. Appreciate it!

Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-way-to-use-game_interpreter-in-the-console.95476/