Cannot summon console?

Hi everyone! I'm using RMMZ and was testing some plugin functions. When a TypeError popped out, I pressed F8 to see the console, but it didn't show up at first (the weird thing is, I use CustomKeyboardMapping.js to prevent calling the console through F12, but I edited the parameters to allow this before testing)

Then I just switched CustomKeyboardMapping.js off, the console seemed to be summonable. But whenever I tried to open it it just popped out and shut down immediately along with the game window. I even tried to use EliMZ_book.js to "automatically open the dev tool" when started test-playing, but the game window could not open due to the same shutting-down reason. Does anyone know what possibly caused this, or is there any way to force-open the console?

Addition 1: I just tried to switch off all the plugins, but the same issue still exists!👋

Addition 2: Before doing those above, I made some changes namely setting up a lib folder, and putting it in the project folder with greenworks.js. But after I remove them the issue still exists!

Addition 3: It seems like a Steam thing, I let my friend try to run a playtest of rmmzproject with RMMZ not from Steam, and the console opened and ran correctly.
Thanks to @SGHarlekin's reply in this thread, I finally figured out the reason why the console is no longer summonable!

It has something to do with NW.js, which I manually updated once when I was trying to set up Steam Achievements following this guide. It turns out that I need to update the NW.js files with the SDK version instead of the normal version. (However, you can still change it back to the normal version when everything's settled for officially deploying the game to the public :elwink:)Now the console is summonable for local playtesting as well!

It's so nice to see you again, console!😂
You should actually be using both versions. Not sure what guide you referenced, but you have a win folder and a win test folder in your rpg maker directory. The win folder is where the nw.js for the exported version will go, the win test folder is the version of nw.js that's going to be used when you hit that test play button.
You should actually be using both versions. Not sure what guide you referenced, but you have a win folder and a win test folder in your rpg maker directory. The win folder is where the nw.js for the exported version will go, the win test folder is the version of nw.js that's going to be used when you hit that test play button.
Thanks for your reply!

I updated my NW.js following some replies in this thread, which mainly showed how to update NW.js in RMMV. And I believe I just remembered sth like "changing it in RMMZ is easier" and "copy and paste the new version, then just click 'replace'", without paying much attention to the two different versions as long as they were both named with "v0.89.0." 😅

Strangely, I just checked my RMMZ directory but didn't find the win test folder, though I remember either seeing it or seeing other people mention it. Not sure if it's gone because of the manual update stuff, since the last edit was taken a long time ago. :elswt: Guess I'll try to re-install RMMZ someday when necessary and see if this folder shows up properly.

Original thread: https://forums.rpgmakerweb.com/threads/cannot-summon-console.171351/