In vanilla you can press Esc to unbind a keybind. It would be great if you can do it with the debug keybinds too, since there's just so many that are unused for the average player.
Currently pressing Esc just leaves the menu, cancelling the keybind change.