I am preparing to build an Erlang Debugger in TextMate. IMHO, TextMate's HTML Output view is ideal for this since HTML+JS supports a huge variety GUI elements.
Before diving right in I needed to make sure that TextMate's HTML Output view supported arbitrarily complex keyboard shortcuts. I found that it does and here is how to create the Command I used to test this:
I am digging in now to find a good way to connect this to Erlang's debugging modules. Thankfully all debugging in Erlang can be scripted with Erlang code, so this is not an insurmountable obstacle.