Is it possible to launch a Ruby debugger from within the Logstash Ruby filter plugin?

Is it possible to launch a Ruby debugger from within the Logstash Ruby filter plugin? It would be very handy for debugging.