Project with a Web and Java Module: How do I debug only the Java Module?

I have a project with a Web and Java Module.

How do I debug only the Java Module?

I am searching the Help Docs, I am just missing it...

Thoughts or directions are greatly appreciated.

Thanks,

--Todd

5 comments
Comment actions Permalink

If there is a Main class, create Application Run/Debug configuration for this class from the Java module and debug as usual.

If it contains servlets and you want to debug them, the easiest way would be to deploy it with the Web Module.

0
Comment actions Permalink

Serge: Thank you!

I just found the Help docs as well...

0
Comment actions Permalink

I'm not really sure what you're trying to achieve, but IMHO you can just launch a main method in your Java module and debug whatever is used there. It doesn't matter if there's a web module lying around. Maybe you should explain in some more detail what you're expecting and what is happening.

0
Comment actions Permalink

Martin: Thanks for the follow-up. I figured it out.

:)

0
Comment actions Permalink

Martin: Thanks for the follow-up. I figured it out.


Yes, I saw. But this happened while I was typing... :)

0

Please sign in to leave a comment.