In case this is not by design, the /debug command does not know which script it was called from, so the -i alias cannot be seen if it is a local 'alias -l', and preference is given to something of the same name in a script higher on the script list or in the alt+D aliases. After executing /debuglaunch each in/out message intended for @debug window triggers '* No such identifier:'

Code
alias debuglaunch { debug -pio52r44 @debug alias_cannot_be_seen_without_removing_local }
alias -l alias_cannot_be_seen_without_removing_local { returnex $script $caller $time $network $qt($1) }