That's when you start the game with it. But it's also possible to type it in console when you already started the game and to turn off dev mode while in game. I'm sure that is possible.
Yeah except no. the developer cvar ingame is for debugging ingame entities, not for special stuff that requires -dev