Games are developed on PC's.
If it's a multi platform game then the developers will have console development kits connected to their development PC's so they run their code on the actual console hardware.
What people wrongly call console ports are PC games that use the same assets as the console version. So the developers don't spend any extra time, therefore money, on taking advantage of any potential extra processing power that PC gamers might have avaialble in their PC's.
Which, when you consider PC game sales against console game sales, makes economic sense most of the time.