How to debug JS projects with Chrome or PhpStorm IDE