Intelliji idea is very slow in debug mode and it is running perfectly in normal mode.
I already tried by setting the below thing in /etc/hosts file sudo nano /etc/hosts
I have solved a similar problem by disabling breakpoints; it was remote debugging. I did not make any performance measurements, but it looks like it is ok to have about 10 active breakpoints, but disastrous to have about 100 of them (I guess, the breakpoint list is sent over the network).
Idea lets you to group breakpoints and disable the whole groups.
Note that a click on the wrong mouse button clears your breakpoint instead of letting you edit its condition, so be careful!