While the debugger is on the breakpoint all threads are stopped. Therefore, the new thread, which is spawned by the timeout, is also stopped. So we replace the timeout with our timeout, which use DebugThreads instead of regular Threads.
https://youtrack.jetbrains.com/issue/RUBY-17930
While the debugger is on the breakpoint all threads are stopped. Therefore, the new thread, which is spawned by the timeout, is also stopped. So we replace the timeout with our timeout, which use DebugThreads instead of regular Threads. https://youtrack.jetbrains.com/issue/RUBY-17930