Using web browsers integrated debugger

Another option is to use a debugger, which ships with your favorite web browser. Nowadays every modern browser is equipped with the option to debug JavaScript. To use the browser’s debugger, do the following:

1. In your code, at the place where you want to start debugging, enter the command debugger;


2. Download your project to the device running mySCADA and navigate to your view


3. Now enter the debug mode in your browser (Chrome shown in the picture)


4. As you can see, your code has stopped where the keyword debugger was inserted. Now you can start debugging