This debug command prints a list of test entities for all nations to the local_temp.log file which can be found at Documents\Paradox Interactive\Europa Universalis IV\logs.
writetestentities
Search Our Database of 304 EU4 Console Commands
writetestentities
This is the only way the writetestentities debug command can be executed. After running this command, you can find a list of test entities for all nations at Documents\Paradox Interactive\Europa Universalis IV\logs\local_temp.log.