Skip to content

Using Your Browser to Diagnose JavaScript Errors

koribreaux77 edited this page Aug 23, 2019 · 1 revision

Utilizing Your Browser to Diagnose JavaScript Errors

Themes

Stage 1: Try Another Browser

Stage 2: Enable SCRIPT_DEBUG

Stage 3: Diagnosis

Firefox

Web Explorer

Chrome

Safari

Show

Stage 4: Reporting

In case you're encountering issues with your intuitive usefulness this might be expected to JavaScript mistakes or clashes. For instance, your flyout menus might be broken, your metaboxes don't drag, or your include media catches aren't working. So as to plan your help demand it encourages the group to comprehend what the JavaScript mistake is.

This guide will tell you the best way to analyze JavaScript issues in various programs.

Stage 1: Try Another Browser # Step 1: Try Another Browser

To ensure this is a JavaScript blunder, and not a program mistake, above all else take a stab at opening your site in another program.

in the event that the site isn't having a similar issue in the new program you realize that the blunder is program explicit

in the event that the site is having a similar blunder it's anything but a mistake that is explicit to one program

Make note of any programs you are encountering the blunder in. You can utilize this data when you are making a help demand.

Stage 2: Enable SCRIPT_DEBUG # Step 2: Enable SCRIPT_DEBUG

You have to turn on content investigating. Open wp-config.php and include the accompanying line before "That is all, quit altering! Upbeat blogging".

Verify whether you are as yet having an issue.

Issue is fixed – turn off content investigating and report the issue on the help discussion, telling the volunteers that you turned on content troubleshooting and it tackled the issue.

Issue perseveres – continue to Step 3.

Top ↑

Stage 3: Diagnosis # Step 3: Diagnosis

Since you know which programs you are encountering issues in you can begin to analyze the issue.

Firefox # Firefox

  1. Open the Console

Go to the screen where you are encountering the mistake. In Firefox, explore to Tools > Web Developer > Error Console or press Ctrl + Shift + J.

  1. Distinguish the Error

The mistake support will open. On the off chance that you don't perceive any blunders have a go at reloading the page. The mistake might be produced when the page loads.

The reassure will give you the blunder type, the area of the mistake and the line number

Clone this wiki locally