I would strongly recommend using docker to spin up a PrestaShop development environment. I resisted myself for a long time but the move has been transformational to my workflow. It will set up the server, mysql database and all the source for the version you want to work on. All you need to do is run the installer. Better still you can have multiple different versions running and test out your code with different php versions etc. with just a few commands and an edit of the docker-compose.yml file.
All the code is exposed on your local filesystem so you can access it with your usual IDE.