add maven debug script and update terminal config