If you're on a Mac, you can develop your Vapor project using Xcode. You can build, run, and stop your server from within Xcode, as well as use breakpoints to debug your code.
To use Xcode, you will first need to generate a
To generate a new Xcode project for a project, use:
If you'd like to automatically open the Xcode project, use
vapor xcode -y
Make sure after generating your Xcode project that you properly select the executable if you're trying to run your application.
To generate a new Xcode project manually.
swift package generate-xcodeproj
Open the project and continue normally.