Hi,
I have some scripts which set all the environment & then finally create executable for me Ex: myexicutable


Now in project setting, to debug my code I need to put this binary (myexicutable), But I cann't do that in my case because here my script will do that.
So I put my script here But I am not able to attache myexicutable this to the debugger because it mentioned my script in the executable option .

So, How can I attach my process here (I don't want to use Debug->Attache to running Application)

Finally: When I click on Start Debugging or F5, Qt creator should run a script which will launch my application & that application should get attached to my Qt Creator.

Plase check the attached file: Capture.jpg

Here in the attachment, $OUT/myscript.csh is the script, which will do all the ENvironmental setup & finally launch my launch my application (myexicutable )
Because I provide my script here & qt creator is trying to attache this script instead of my application & failing to attach.
So is there a way to run this script & the attache my application here.

I am using Qt2.8.0