Instead of running `echo test` in the shell started by `konsole`, start a shell with tracing turned on, and run `echo test` in _that_ :
konsole --hold -e sh -x -c 'echo test'
Depending on how `konsole` handles the argument to `-e` (I don't have `konsole` installed to test), you may have to use
konsole --hold -e "sh -x -c 'echo test'"