How to debug java script using internet explorer

How to debug java script using internet explorer

Following are the steps that are needed to be followed:

1. Enable the Debugging in the Internet Explorer – Go to Tools >> Internet Options (wizard will appear >> Click the 'Advanced Tab' >> Under Browsing Section uncheck the 'Disable script debugging' checkbox >> Click OK.

2. Edit the java script code of the Entity Page that you want to debug.

3. Put the statement 'debugger;' above the line where you want do the debugging. e.g. suppose my java-script show 'Hello World' message and  want to debug this then following is the way I am going to add script:

debugger;

alert('Hello World')

comments powered by Disqus