Officially Visual Studio can debug Javascript files.
similar https://www.pipiscrew.com/2015/12/conditional-breakpoints-in-chrome-developer-tools/
origin - http://www.pipiscrew.com/?p=2702 internet-explorer-w-visual-studio-enable-js-breakpoint-and-error-trapping