RPG Maker MV

RPG Maker MV

Woods Oct 23, 2015 @ 2:08pm
How to effectively debug script?
What is the best way to do this? Can I log data to the file? Get object map and stuff?
< >
Showing 1-6 of 6 comments
ocean pollen Oct 23, 2015 @ 2:16pm 
Yanfly's core engine plugin comes with an option to open the debugging console. You can inspect global variables from there. That, plus logging and assigning useful values to a global for later inspection. You can also work on reusable stuff in more easily debugged contexts. F.e. I just wrote a little webpage with embedded JavaScript to get some stuff right, and then integrated it with a game.
Katemare Oct 23, 2015 @ 2:41pm 
You can press F8 during the playtest and use a standard Chrome-like debugger.
Zeriab Oct 23, 2015 @ 2:43pm 
You can also open the index.html in your project and use the dev tools in your browser of choice
Do note that you may have to allow reading local files or you may get errors when trying to load .json files

Personally I work in Visual Studio.
Last edited by Zeriab; Oct 23, 2015 @ 2:44pm
wirehack7 Oct 23, 2015 @ 3:02pm 
See also that for debugging:
https://developer.chrome.com/devtools/docs/javascript-debugging
You have a powerful tool there :)
Pan Paka Pan Oct 23, 2015 @ 3:18pm 
Originally posted by Katemare:
You can press F8 during the playtest and use a standard Chrome-like debugger.
Thanks for this info!
Woods Oct 23, 2015 @ 3:32pm 
Thanks you guys for all your help. That helped a lot. Didn't realised at first that you can open the game as html page and use your ordinary debug tools. F8 ingame is also another useful solution. It's really easy debug RPG Maker now.
< >
Showing 1-6 of 6 comments
Per page: 1530 50

Date Posted: Oct 23, 2015 @ 2:08pm
Posts: 6