Skip to content

IntelliJ Debugging Mode #244

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ProfEibe opened this issue Feb 11, 2025 · 1 comment
Open

IntelliJ Debugging Mode #244

ProfEibe opened this issue Feb 11, 2025 · 1 comment
Labels
@nxrocks/nx-spring-boot question Further information is requested

Comments

@ProfEibe
Copy link

Hi,

sry I haven't found anything googleing my problem.
I can't find a solution to debug my springboot project. "Normally" IntelliJ recognizes it and stops at my break points in Java Project. Using this tool in NX it does not happen. Does anyone have a solution for this? Or how do you debug your nx spring-boot projects?

Thanks in advance.

@tinesoft
Copy link
Owner

tinesoft commented Mar 24, 2025

Hi @ProfEibe

Sorry for the late answer.
The spring-boot project within your Nx workspace, is just a regular Spring Boot project. So you should be abbe to debug it the same way. From what I understand, it looks like your IDEA, has not recognized the "sping-boot" facet of the projet, which might be due to the way your imported it in IntelliJ?

Normally if you open the root folder containing the entire workspace , Intellij (Ultimate Edition), it should automatically detects each kind of project it recognizes within the root folder, and proposes you to load them

See below,

Image

Once you load the maven (or gradle) module, Spring Boot projects should be supported

Image

If not, try to close the project, delete the .idea folder it contains, and re-open the root folder with Intellij,

@tinesoft tinesoft added question Further information is requested @nxrocks/nx-spring-boot labels Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@nxrocks/nx-spring-boot question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants