The easiest (as in, least invasive) way to work with a queue is to use DDT's "reverse connect".
Firstly - load the GUI on your desktop/laptop (you don't need a licence to install this). Then, add a "remote connection" in the GUI - telling DDT where to find your supercomputer - tell it the hostname, and installation path to the tools. Test, then connect.
On your supercomputer, login to a terminal... and where you previously might have a line like this in your qsub script:
./a.out
or like this:
mpirun -np 4 ./a.out
replace it with
{path-to-ddt}/bin/ddt --connect ./a.out
or
{path-to-ddt}/bin/ddt --connect mpirun -np 4 ./a.out
Now, submit your job as usual - and a dialog will appear on your GUI on your laptop. Click accept, you're now debugging.
ddt
as it is for something else than ARM DDT.