Look into preferences for bash editor in sub menu debug
. There you can setup and test terminal handling and some script environment. You
will find information by tooltips over the labels and fields at this preference page.
Open the script you want to debug inside bash editor
Execute Run->Debug as->Bash script
.
Debugger will appear on first line, if your script started with a shebang the first line is replaced by a call to a debugger
script which makes up the remote connection. This temporary change will automatically be reverted when debug session ends.
To get standard debug views automatically on screen you should switch to Debug perspective by Window->Perspective->Open Perspective->Debug
.
Please visit Wiki page