replace bin/debug*.sh scripts with -d options