How to debug a Web project

Source: Internet
Author: User
Preface whether the server is Tomcat or JBoss, it is the same as long as the Web project is debugged.
A Web project 1, deployment project, 2, in debug mode, 3, because it is the project in the Myeclipse/eclipse deployment to the server, so Myeclipse/eclipse project source code and deployed to the server project source code is the same, So when the IED runs the project in debug mode, the IDE enters the breakpoint in the project's source code.
Multiple Web projects 1, deploy multiple projects, 2, run in debug mode, 3, because it is the project in the Myeclipse/eclipse deployed to the server, so Myeclipse/eclipse project source code and deployed to the server project source code is the same, So when the IED runs the project in debug mode, the IDE enters the breakpoint in the project's source code.

A Web project, multiple Java projects assume that a system has a Web project, and several Java projects that you write yourself. 1, right-click Web Project-"Build Path-" project: Add dependent projects, that is, those Java projects, 2, Deployment projects, 3, run in debug mode, 4, because it is the MYECLIPSE/ECLIPSE project deployed to the server, so myeclipse/ The source code of the project in Eclipse is the same as the source code of the project deployed to the server, so when the IED runs the project in debug mode, the IDE enters the breakpoint in the project's source code.

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

How to debug a Web project

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.