[HOI4 Modding] Enabling Debug Mode
ฝัง
- เผยแพร่เมื่อ 7 ก.พ. 2025
- This lesson will explain what is Debug mode and how to enable it in Hearts of Iron 4.
Timestamps for this tutorial/lesson:
What is Debug Mode - 00:35
Enabling Debug Mode - 02:54
Useful links:
Iron Workshop Discord server: / discord
My twitch channel: / playerhoi
Hearts of Iron IV wiki modding page: hoi4.paradoxwi...
If you would like to contribute to make the Iron Workshop better you can do so on Patreon: / playerhoi
Here are the download links to the various tools used during The Iron Workshop lessons/tutorials.
Notepad++ Download: notepad-plus-p....
Paint.net Download: www.getpaint.n...
Please consider disabling your AdBlocker on TH-cam to support this channel and any other channel that creates content you enjoy and makes revenue from ads.
FOR EVERYONE THAT HAS PROBLEM WITH THIS I FOUND A SOLUTION
as of date: 11.04.2021
You first open steam and right-click Hearts of iron 4 in the library
Choose "properties" at the bottom
Go to general
at the bottom of the general tab should be something like "startoptions"
type "-debug"
Start/restart Hoi4
Profit!
I did that and it still says certain options are only available for developers (like spawning units)
@@battleship6177 sounds weird. Maybe I have different options that allow me to but I couldn't say which ones that would be
@@letsdrake3558 Okay
@@battleship6177, same for me. Developer console commands do not work with -debug in launch options
ive been recently making a focus tree mod for chile this is great stuff
Thank you bro deserve a like for your time 🙏
Thank you so much! I've always wanted to make a better modern day mod but too cbf. The events in Ukraine make me want to make a mod where Russia starts like Italy with Ethiopia. I'll prob never make it but this is soooooo helpful!
if = {
limit = {
has_start_date < (date)
}
declare_war_on = {
target = (country)
type = annex_everything
}
@@ddddddddddddddddddd6 cheers. I'm modding it and taking a break now. Just added my first event "Kyiv or Kiev".
It now starts with the war in progress from 22.02.2022 and soon I'll try to add an Ethiopia-like decision.
@@Nick-ce6lt Comment here if you ever end up finishing it. Sounds super interesting and I'd definitely play it!
I cant start the debug shortcut because It cant find the way for it
Creo que podias activarlo desde el mismo juego si colocas el comando: "tdebug" y asi te salian las IDs de los estados
Can you make an updated version for Windows 11? The "properties" window is different, and there are no other guides online. I know I'm stupid for using windows 11, but it updated without my permission. This would be very helpful!
Been having the same issue.
I found out how to fix it, go through the properties tab in the steam launcher of Hoi4
@@megafatman_2682could you explain it again? I'm too stupid
@@noahfrohlich2802 Bit late but I think what they mean is if you open steam, go to HOI4 in your library, right click on it and go to properties, there should be a section in General that says "Advanced users may choose to enter modifications to their launch options." If you type "-debug" into the box below that without the quotation marks and close it, the game should then launch in debug mode.
@@reuben8531 Thanks a lot dude, I was struggling to find a way to do it!
I got inspired to mod and im making a focus mod for germany now thank you!!
thanks, im in the microsoft store version and i wanted to enable debug mode
This video is great, thanks.
Hey i just tried to spawn troops in the debug mode thing. It didnt work. As in it said debug mode wasnt enabled
yeah same here, it still wont work
@QuartzFoox oh. Thx!
QuartzFoox what do you mean apply?
@@redactedredacted4505 What did QuartzFoox say, and why did they delete their reply that seemed to be so helpful?
@@boxcarz what? I havent deleted anything. I got the help i needed. I really didnt delete it. I havent really checked on this comment for awhile since i had gotten it to work...
Thank you! its WORK!
No it doesn’t
@@AndrewIgnatikov Is it still working for you? I'm having a hard time trying to get it to work
@@AndrewIgnatikov I was just asking jeez
i get error i dont know how to fix its problem with shortcut when i typed -debug and clicked ok then i got error that says The name '"C:\Program Files (x86)\Steam\steamapps\common\Hearts of Iron IV\hoi4.exe"-debug' specified in the Target box is not valid. Make sure the path and file name are correct.
you forgot to put a space before -debug.
@@aris_32 im in love with you
@@CurrentlyCerno chill chill
I'm trying to use the "spawn" command
Which spawns Units in a province.
I did everything and used " [spawn] [unit name/id] [province id] [amount] "
"developer mode only."
My question is, does enabling debug mode enables developer mode?
It's supposed to but I've tried it through the steam launcher and the method in this video. Neither of them work. I'm guessing there's some other developer tool. Lmk if you find one
@@loganownby2527, same for me
I enabled it but it just doesn't live update
I don't know if it just doesn't work when you change a country's colour but it isn't live updating
im trying to spawn divisions but it still wont work i think i have the same issue as @america Mapping
Bruh my game won't even start in windowed mode and this is killing me already. I am about to have a bad time xD
I spent like 15 minutes figuring out where the fuck the send to button was 💀
Well I was hyped to do mods until My debug shortcut is broken. Nothing appears when I try to open the game
I am having the problem that the new state reverses to old state after click8ng create state.
How can i disable this debug. Because i cant play multiplayer
yeah but the windowded mode take more ressources and process for the processor and the pc in general.
and i dont want a game with a lower fps x)
This might sound weird but whats in the Lyle vs. Gayming folder I can't possibly think of what that means?????
Hi i can't find the shortcut area in my hoi4 properties
Me 3
Does someone know how to do this in Mac laptop?
the game crashed while I had provinces assigned to no state, and when I tried to open the game, it crashes every time at 'intialising' I've tried deleting the folders 'map' and 'history', i've tried uninstalling and reinstalling, i've tried exiting steam, restarting my macbook, nothing works.
I've spent so much money on this game and I'm about to have a mental breakdown please someone help
go into "OneDrive\Documents\Paradox Interactive" and delete the file "Hearts of Iron IV", then reinstall hoi4.
delete every document except mods and save games, it helped for me. Good luck
I have a question: Is there a way I can make a save file a mod?
For example: I play the Great War mod and the game ends up way differently, can I then edit this slightly and make a Kaiserriech type mod out of it?
Not automatically, you can mod all the changes that happened in the save file but a save file cannot be converted to a mod.
@@TheIronWorkshop alright
hey i have a doubt can we make mods from other mods in steam?
This doesn’t work, wth is going on? It still says “command available only for developers.
I typed -debug in Launch Options and launched the game and tried to use developer console commands but still it says with red coloured letters that this command is only for developers, typing -debug in launch options only gave me new window with errors in the game but console commands do not work.
I forgot to mention that when game launched in menu appeared a new button called Nudge, I attempted to test it on launched map in the game but after I clicked "Leave nudge" game crashed, After rejoining the game Nudge tool still crashes Hoi4.
Developer mode is broken for me(
same
same
Same
Same
same
How do you reset nudger? I can't try and reset it without it crashing
can someone help me? Yesterday i was doing provinces in debug mode and game just crashed, when i use another mods - it's still crashing, so i can't continue doing my "mod" or play
I don't think error.log is supposed to open but it does, any help?
i did the debug command in a game and when i went out my hoi4 was in debug mode
how do i do this on windows 11 i cant click send to desktop it does not exist
Idk where I went wrong I was bombarded with errors
and what if I didn't download it from steam?
I activate but its saying "Command only for developers" again.
only create a one
right click on the .exe and go to the option shortcut
@@Markmarki-nj7te what?
I have no prior experience with modding and when I press OK after placing -debug it doesn't enable, how do I resolve this?
Edit: I have figured it out.
What did you do?
I have an error code when I start the game. I can't spawn units either, there is something about Develooper's fashion
same problem with me bro
@@AR4ND1EL same
and how do you turn it off?
Hey, I'm having a bit of trouble finding the "hoi4" launcher file in the folder, any chance you could help me with that?
does anyone know what "debug argument" is?
Hey please how to enable spawn command in hoi4
spawn (unit name, put "_" in between words) (number of units)
@@DaimondMaker says only developers can use this command
King!!😀😀
I know the video is old but i have windows 12 and i don't sent to what i have to do?
WINDOWS 12?
Sorry i meant windows 11
@@dario9.7.8.8 wdym? in windows 11 you too can sent click more options
can you update this for windows 11?
For me there's no option to create "hoi4" as a shortcut
Ok 1 problem my game takes like 7 minutes to launch everytime
that doesnt appear to me help😭
Someone please tell me how to fix -DEBUG NOT WORKING IVE BEEN SPENDING THE PAST MONTH TRYING TO SPAWN TROOPS IN REGIONS AND IT KEEPS ON SAYING COMMAND ONLY FOR DEVS COMMAND ONLY FOR DEVS SOMEONE TELL ME HOW TO FIX THIS FUCKING ISSUE
bruh just use console to make recruits instant and add resources if needed. There's console command sites.
i find the File not 😞
Can you help me about a situation that is driving me crazy? Until today, I never had crash while in debug mode. But, today, my game is continually crashimg and this is driving me insane. Please help me.
just repair the game
same
dont have the the whole send to option.
My mods aren’t working as in it’s basically acting like their not enabled
I Can't have nudge tools !!! how can I have it
4:22 "now what ist das?"
How to leave "debug_nogui"? pls help
Thanksss
Umm...... the hoi4 file isn't on my computer....
So how are you playing the game?
@@TheIronWorkshop steam, but somebody else already told me how to do it for that so i know how to do it.
@@nedkiely8780 and how
@@nedkiely8780 how
its normal sometimes... had same things many time.
any way to do it on gamepass hoi4?
did u find a way
@@0Moh No
3:09 Recycle bin's name - Useless junk
How do I turn it off
Hello, I did some mods on windows 10 but on windows 11 im not capable of activating debug mod can you help me?
It Won't Without Steam Somebody Help Me Enable Debug Mode Without Steam I Use Steamunlocked
Did it. Not working.
i cant do it cuz i have it from microsoft store so i cant :/
For the crack, it's work ?
The shortcut doesn't exist on my pc
Same problem here
I tried but didn't work
Esse seu sotaque parece sotaque de brasileiro tentando falar inglês
Can I write -debug from steam?
yes
where do you actually do the modding?
Now everytime I try to play HOI4 it crashes... Even after I deactivate the debug...
Delete everything in your Documents\Paradox Interactive\Hearts of Iron IV folder except for the "mod" and "save games" folders, that should solve it.
Delete everything in your Documents\Paradox Interactive\Hearts of Iron IV folder except for the "mod" and "save games" folders, that should solve it.
@@TheIronWorkshop Didn't work I tried to uninstall and install again... Didn't work too...
@@tiagorodrigues179 If after reinstalling your game it still crashes that has nothing to do with what you were instructed to do in this video.
My other suggestions are Paradox/Stream support to try and resolve the issue with your copy of the game.
@@tiagorodrigues179 same
debug mode doesnt work
3:28
Hi i caint find the file on my pc idk plz help
Same
@@aidentapley3030 thx man
Doesn't work
top
cant play hoi4 now thxs 🖕🖕🖕🖕🖕🖕🖕
add to the skybox
How can i enable debug mode on cracked hoi4?
''Enabling Debug Mode'' more like clickbait because none of it works.
it does
@BẢO Nguyễn Hữu does
@@bolenco149 tell me how to make it work because it ain't working for us
@@battleship6177 do what he did in the video
@@bolenco149 I did
What the hell happened to this channel
The Cold War Mod
god bless russia
I pissed my pants
sad