I've a mission which inexplicably starts to lag so badly that it becomes unplayable. This doesn't occur in the editor but it does happen in singleplayer and not immediately, in fact it usually takes more than 30-40 minutes and it never happens at the same point. So I've tried to debug it by enabling the console.
Unfortunately though enableDebugConsole=2 in my description.ext doesn't work. The console still won't show up in single player.
Has something changed in regard to this command? It used to work just fine.
Sod having to remember to fill in description.ext OR set Eden attributes every time you edit a mission or are testing some mission scripts. Then also remembering to unset it before releasing.
Just place it in a addon and be done with it, debug console always available whilst editing, you just need to remember to unload it if your going to play online of which the server should tell you you have a incompatible addon loaded, or even use a separate profile for editing/playing with a different set of addons, which is my personal preference.
class CfgPatches
{
class LARs_DebugConsole
{
units[] = {};
weapons[] = {};
requiredVersion = 1.0;
requiredAddons[] = {};
};
};
enableDebugConsole = 2;
Or HERE if you dont want to make the addon yourself.