Weird... console not appearing anymore.

Just happened today, the console isn't appearing anymore and I can't get it to appear. I'm kinda stuck if I don't have my console. Anyone knows what the cause might be?

EDIT: Ok, it can be called with F12 not F8, but before it would appear automatically when I playtested the game with a simple plugin:

Spoiler
Code:
(function() {
    var substrBegin = document.currentScript.src.lastIndexOf('/');
    var substrEnd = document.currentScript.src.indexOf('.js');
    var scriptName = document.currentScript.src.substring(substrBegin+1, substrEnd);
    var parameters = PluginManager.parameters(scriptName);
    

    var devtool_width = Number(parameters['Console Width'] || 800);
    var devtool_height = Number(parameters['Console Height'] || 300);
    var devtool_x = Number(parameters['Console X-Position'] || 0);
    var devtool_y = Number(parameters['Console Y-Position'] || 0);
    var win_x_offset = Number(parameters['Game Window X-Offset'] || 150);
    var win_y_offset = Number(parameters['Game Window Y-Offset'] || 0);
    var autofocus = String(parameters['Autofocus']);
    
    var _Scene_Boot_new_initialize_showconsole_24102015 = Scene_Boot.prototype.initialize;   
    Scene_Boot.prototype.initialize = function() {
        _Scene_Boot_new_initialize_showconsole_24102015.call(this);
        if (Utils.isNwjs() && Utils.isOptionValid('test')) {
            require('nw.gui').Window.get().showDevTools().resizeTo(devtool_width,devtool_height);
            require('nw.gui').Window.get().showDevTools().moveTo(devtool_x,devtool_y);
            require('nw.gui').Window.get().moveBy(win_x_offset,win_y_offset);
            if (autofocus === 'true') {
                require('nw.gui').Window.get().focus();
            };
        };
    };
    
}) ();
I've seen others with a similar issue quite recently...starting to wonder whether there was some accidental/undocumented change in the recent 1.6.2 update. I'm still using 1.5.2, haven't noticed anything out of the ordinary. 😅
Ohh forgot to add that I'm still using version 1.4.0 and that has not changed since my console stopped appearing. I can go by by pressing F12, but frankly I prefer when it automatically comes out when I start playtesting.
Oh, so it's probably not directly related to RMMV... For reference, I just tested your little plugin in a new project and it opened the console on game load, no problems. Maybe an OS update is responsible? I'm on Windows 8.1. 🙂
OHHH There was a windows update yesterday... I wonder what changed.
Nothing special. Japanese version had an exclusive deployment option, this was removed.
Nothing special. Japanese version had an exclusive deployment option, this was removed.
What deployment option? And how does that affect the auto-console I had?
I don't know what deployment option. It was exclusive for Japanese, so it's irrelevant for us anyway and it means nothing has changed for us. As for your second question...
RPG maker MV 1.5.2 and greater use better version of NWjs. Sub 1.5.2 use 0.13.2, 1.5.2 and 1.6.0 use 0.25.4, 1.6.1 and 1.6.2 use nw.js version 0.29.0.
The difference between 0.13.2 and other versions is, the code for opening the dev console is different.
That's why you can't open the dev console via f8 if you use scripts from 1.4.0 in version 1.6.2.
In particular the difference between these two versions is:
0.13.2 uses
Code:
require("nw.gui").Window.get().showDevTools();
The two more recent versions use
Code:
nw.Window.get().showDevTools();

Also, the version 0.13.2 doesn't have the f12 key to open dev tools. It has been present in 0.22.3 and more recent, just like the new code to open dev tools among other things (including, but not limited to a bug fix of nw bytecode not being 70% slower compared to standard javascript)
@Poryg Ah, that's explain it. This is exactly why I didn't want my RPG Maker to update... but I suspect an update reset my steam settings and allowed my MV to be updated.

Original thread: https://forums.rpgmakerweb.com/threads/weird-console-not-appearing-anymore.105539/