There are publishers you can work with to have your game ported and published on consoles. The main one I know of is Ratalaika Games (https://www.ratalaikagames.com/). There may also be tools available as well, that will allow you to port it yourself. But working with a publisher, they will make sure that everything works before releasing on whatever console you are trying to get published to. (I believe there was some sort of software that allowed console ports with Construct 2 projects. I could be wrong though, so don't quote me XD)