Use jetty for debug mode debugging under Idea

Source: Internet
Author: User
The steps are as follows:

(1) Locate the –run– in the tab and find the –edit configurations

(2) Click on the green plus– to find Maven point in

(3) Fill in the following fixed values in command line and profiles as below, then fill in the path of your project in working directory
The command is: clean jetty:run -DskipTests
The name is random, this is called Jettydebug .

(4) You can also set the MVN clean install and mvn jetty:run in the same manner as the two commands

(5) In that case, we have three "shortcut keys".

(6) When debugging, just select the Jettydebug created in (3)
Then click on the back of the green triangle button, hit the breakpoint after the operation can enter the breakpoint for debugging.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Use jetty for debug mode debugging under Idea

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.