This command will make it so that the IDs of provinces are shown on tooltips when you hover over them.
The syntax for the showprovinceid command is as follows:
showprovinceid DLC: Hearts of Darkness
Find below working examples of the showprovinceid command.
This is the only way the showprovinceid command can be executed. If you don't have the HoD DLC this command will not work, instead see our list of all province IDs.