but debugger don't stop by the breakpoint of the first line of code from _on_input_event().
The debugger doesn't randomly decide to skip breakpoints. This means that the program doesn't hit that first line of code.
So your code (and flow) isn't doing what you think it's doing. Use more breakpoints and stack traces to figure out at each step what exactly happens and why.
You might also want to read about MouseFilter and check your own nodes to see if it's set up correctly.