What is the Test mode flag

hi
lately I mess up with resource management with my game like more folder and more file type etc
but I still like to see the preview picture in editor
so I want to know what game switch script that detect if game is in test mode or not
so I can put a condition for the new path only load outside test mode
and I can replace the large file with blank in the public build
thank you
JavaScript:
// from rpg_objects.js
Game_Temp.prototype.initialize = function() {
    this._isPlaytest = Utils.isOptionValid('test');
    this._commonEventId = 0;
    this._destinationX = null;
    this._destinationY = null;
};

// from rpg_core.js
Utils.isOptionValid = function(name) {
    if (location.search.slice(1).split('&').contains(name)) {return 1;};
    if (typeof nw !== "undefined" && nw.App.argv.length > 0 && nw.App.argv[0].split('&').contains(name)) {return 1;};
    return 0;
};
Based on these excerpts, I think the option is "test", so try adding ?test after your game's path. (It's like a command-line parameter; here's some info on location.search.)

Original thread: https://forums.rpgmakerweb.com/threads/what-is-the-test-mode-flag.118093/