Debugging Webflux with IntelliJ

By default, it very difficult to read reactor stack traces. Make your life easier with this little tip!

By default, when you try to debug project reactor calls, you get something like this:

No debug

But if you add this dependency :

testImplementation("io.projectreactor:reactor-tools")

And click on this little funnel:

Funnel

Also ensure that you have the reactor plugin and that its properly configured.

Plugin config

You get this:

Wow

Much better!

Sources:

If you liked this article, please share! ❤️
Categories: webflux
Tags: spring
comments powered by Disqus