Cockpit not loading when debugger/breakpoint applied, on release breakpoint it loads immediately

I created one application which is running well in run mode. but when I’m debugging the process using java debugger and apply breakpoint, in debug mode cockpit does not gets load not even fails. But as soon as I release debug point it loads properly.
I tried with H2 and Postgress both but still same problem.
Any help please.

Thanks
Pramod