Run multiple instances of WebStorm

I am using IntelliJ with multiple profiles on my Mac.

I achieved this by creating two directories that include idea.properties file: 
/username/default-profile 
/username/other-profile

Then in each idea.properties I have a custom paths(i.e. for default profile)
idea.config.path=/username/default-profile
idea.system.path=~/Library/Caches/JetBrains/default-profile
idea.plugins.path=${idea.config.path}/plugins
idea.log.path=~/Library/Logs/JetBrains/default-profile

and to start with that properties I use such commands
export IDEA_PROPERTIES=/username/default-profile /idea.properties && \
open -na /Applications/IntelliJ\ IDEA.app

I tried to do the same for WebStorm by setting export WEBSTORM_PROPERTIES but it creates new directory and doesn't take the given property into considerration.

I did some research to set them using WEBSTORM_VM_OPTIONS but same result. give env variable is ignored. 

any hint what I am doing wrong?

0
3 comments

Oh, at last. It worked. Thanks a lot.

0
I'm pleased to know that it was beneficial!
1

Please sign in to leave a comment.