Oh, cool. Thanks.
Let's make it work such that Script Debugger doesn't eat the token, when you paste the script:
set theToken to "Put #" & "~token~" & "# here"
tell application id "com.latenightsw.ScriptDebugger6" -- Script Debugger.app
tell document 2
set contents of selection to theToken
You still can't work with things like [[select:]] though – right?