You can specify a different port by using the argument:

    You can debug a grails app by simply right-clicking on the Application.groovy class in your IDE and choosing the appropriate action (since Grails 3).

    More information on the command can be found in the reference guide.