Since few versions Webstorm ships with useful command line tools. I have noticed that after one of the upgrades
wstorm stopped working.
wstorm is just python script which connects with running instance of webstorm over local port. In my case script had hardcoded incorrect value pointing to settings file -
CONFIG_PATH. The easiest fix is to adjust it to current Webstorm version aaaaaaaand it’s fixed.