Use task language for debugging tasks if available, otherwise just use aterms.