Debugging Client-side Methods
Copy
- Include the line debugger, to your Method.
- Press the F12 key while in your Internet Browser, or right-click and select ‘Inspect’, or ‘Inspect Element’. This will open a new dialog.
- Perform the action that runs the method code, and the code should pause itself once it reaches the debugger, statement.
- Afterwards, you can press F8 to continue running normally, F10 to perform another step of method code, and find javascript variable values using the Debugger Console.