Intelij debugger isn't working for gradle project
Answered
Hello, I have a problem with debugging gradle project. Debugger works fine with normal java application, but it isn't for gradle project. I can set breakpoints, but they are never hit. What is worth mentioning, breakpoints doesn't have tick on them. Anyone knows how to solve this issue?
Please sign in to leave a comment.
Hello,
Is it reproducible with new sample project? Could you share your project for investigation?
It looks like it's not working in any gradle project, using debug doesn't hit breakpoint. This is example of sample project:
Your project structure looks strange. Please try to use common pattern: https://docs.gradle.org/current/userguide/organizing_gradle_projects.html