This command makes it so that you can add any wargoal you desire, limitations no longer apply. This is a toggle command - run it again to disable it.
The syntax for the debug alwaysaddwargoal command is as follows:
debug alwaysaddwargoal DLC: Hearts of Darkness
Search our database of 70 Victoria 2 commands...Onwards
Find below working examples of the debug alwaysaddwargoal command.
If this setting is disabled (default), typing this command into the console will enable it, allowing you to add any wargoal. Using this command while the setting is enabled will disable it (toggle it off).