Disable "ignore" and "irb" debugger options unless we have a continuation

Fixes #30472.