Answer to question 1, done on virtual ubuntu webstorm