Handle script language in debug mode too