Debugging Gradle Test tasks

Answered

It looks like Grade Wrapper 4.10 forks Test tasks into new processes.

In IntelliJ Ultimate (currently 2018.2.3 RC), I've set breakpoints in code that is run during a Test task, but the Test never stops at the breakpoints.

How can I get breakpoints to work in forked Gradle Test processes?

6 comments
Comment actions Permalink

Hello Ross,

Could you please provide sample project for investigation? Breakpoints work fine  on my machine with 2018.2.3.

0
Comment actions Permalink

I'll try to create a sample sometime.  I might not get to it for a week or so.  Will have to rip apart a project to get to a simple example, and that might take some time that I don't have right now…

0
Comment actions Permalink

Ross,

Thanks in advance! I'll be waiting.

 

0
Comment actions Permalink

I'm having the same problem and wondering if you ever found a solution to this?

0
Comment actions Permalink

I didn’t get around to looking further into this

0
Comment actions Permalink

Mike,

Is it possible to share sample project example?

0

Please sign in to leave a comment.