GO to setting, search Terminal:
Change shell path :
C:\cygwin\bin\bash.exe --login -i (to the local which you install cygwin)
Change the default pwd to the proejct path:
Fnd the bash.bashrc file in the cygwin/etc folder,
add one line at the bottom:
cd "$OLDPWD"
Save and reopen the termail in Webstrom.