What you want to use is remote debugging. That would be a complete Maven-independent setup. For Maven integration in Eclipse, I would suggest M2Eclipse.
/Anders On Wed, Nov 11, 2009 at 11:45, maven apache <[email protected]> wrote: > Hi: > > I have two project A and project B,and B is a web module which is to be > deployed under the servlet contain, the B has a dependency of A. > There is a servlet in A,and I config this servlet in the web.xml under the > B/web-info. > Now I want to add breakpoints in the servlet (in the project A) to get the > request raw data. > But I do not know how to debug it/ > Since if it is a common web project created by the eclipse wizard,I can > start by the menu " debug on the server",but the web module created by the > maven did not have the menu. >
