diff --git a/lib/ruby-debug-ide/multiprocess/pre_child.rb b/lib/ruby-debug-ide/multiprocess/pre_child.rb index fd0d41f..4d8f65d 100644 --- a/lib/ruby-debug-ide/multiprocess/pre_child.rb +++ b/lib/ruby-debug-ide/multiprocess/pre_child.rb @@ -16,7 +16,8 @@ def pre_child(options = nil) 'tracing' => false, 'int_handler' => true, 'cli_debug' => (ENV['DEBUGGER_CLI_DEBUG'] == 'true'), - 'notify_dispatcher' => true + 'notify_dispatcher' => true, + 'evaluation_timeout' => 10 ) if(options.ignore_port) @@ -43,6 +44,7 @@ def start_debugger(options) # set options Debugger.keep_frame_binding = options.frame_bind Debugger.tracing = options.tracing + Debugger.evaluation_timeout = options.evaluation_timeout Debugger.cli_debug = options.cli_debug Debugger.prepare_debugger(options) end