A couple problems and solutions for beginners, modifying a script and debugging...

Hey there, I'm sure I'm late to the party with these two problems.

I have just started scripting for RPG Maker MV and I've just noticed that, for some reason with me, after I've modified my script and saved it using Notepad++ or SublimeText, before running the game again in rmmv, I have to re-open the plugin manager, click on the script to check it's parameter values, then close the plugin manager and run the game. 

 

I am using the Steam version of RPG Maker MV. I'm not sure why it's this way.

On debugging javascript I couldn't find any resources on this but...You have to hit F8, then open up sources, click the + sign under Watch Variables on the right hand side and type in the variable, string or array name, then hit enter. You may then have to drag the panel out to the left if it's a long string. Arrays will drop down and have values that you can then grab in your script.

For debugging, you can also use 

console.log(variableNameGoesHere);Then just put in your variable, string, or array name in the paranthesis. Then, start your game up and hit F8. You may have to click the arrow next to the value to drop it down and examine it's contents.

As a noob figuring this out, I'm gonna post more problems and solutions so people starting out can see this topic.
Personally, i always playtest in Chrome and don't use the "official" Playtest function at all. For this you need to start Chrome like this:

chrome.exe --allow-file-access-from-filesAfterwards, open the index.html of the game in Chrome and open the console with F12. F5 to reload the game and all plugins.Regarding the plugin manager: You only need to do this, if you changed something about the parameters, since they are stored in the file "js/plugins.js" and only update after visiting the plugin manager.
Or simply setup an html5 project into Netbeans :

[IMG]http://img11.hostingpics.net/thumbs/mini_479943netbeans.jpg[/IMG]
Now one thing I've been searching around for is a good guide that goes through and describes how RPG Maker sprite objects work. For me it's usually that I learn through Youtube tutorials...

Going to keep searching around or see if I can figure it out myself by looking through the code.
Good tutorial for this : http://www.goodboydigital.com/pixi-js-tutorial-getting-started/

Original thread: https://forums.rpgmakerweb.com/threads/a-couple-problems-and-solutions-for-beginners-modifying-a-script-and-debugging.54319/