Questions tagged [javascript-debugger]

JavaScript debugger are tools that let you debug your JavaScript code by pausing the execution at any time, step through the code and see what each variable available looks like at that moment.

JavaScript debuggers allow step debugging of JavaScript code. Using them you can set breakpoints within the code. When a line of code is executed, which has a breakpoint set for it, the execution stops at that line and allows to execute the code step by step.

While stepping through the code the debugger displays all variables available within the current stack frame and typically also allows you to set some watch expressions.

As one of the main use cases for JavaScript are web browsers, different browsers have integrated tools to debug JavaScript. These tools are:

Furthermore IDE's like NetBeans or Eclipse also include debuggers for JavaScript.

See also

370 questions
0
votes
1 answer

Run JSlint from console with custom options?

In a previous question Run JSLint on a .js file from debugging console in chrome or firefox I learned how to run JSLint from console or from node. Is there a way to run JSLint (from the JavaScript code like in the answer given to the above mentioned…
0
votes
1 answer

How to output to console in PHPStorm when debugging Javascript?

Javascript debugging is great in PHPStorm, but how do I simply output a string to the console from JS? In Firebug, I would add something like: console.log('Internet successfully downloaded'); What is the PHPStorm-debugger equivalent?
JoshuaDavid
  • 8,861
  • 8
  • 47
  • 55
0
votes
1 answer

What tools I can use to find out what JavaScript hangs the web-page if it occurs rarely?

What tools I can use to find out what JavaScript hangs the web-page if it occurs rarely (which means it's very hard for me to reproduce it)? I'm using Google Chrome browser in Windows. Is it possible to find out using browser's tools what hangs the…
expert
  • 29,290
  • 30
  • 110
  • 214
-1
votes
2 answers

Can't enter on if statement

I'm facing a problem with a jquery script. Can't enter on an if statement. Can someone explain me why I cant enter on if (partner_type_id === 1) even if the value is 1? $(document).ready(function(){ …
hhelderneves
  • 925
  • 8
  • 24
-1
votes
1 answer

Can I live-debug any website on browser?

I know there are tools which allow us to debug our own website? How can I debug(or analyze) any website, for eg:- Amazon, Google? Basically, I want to add print functions(in JS) and add breakpoints (in JS) in the execution of a website. How is that…
Praful Bagai
  • 16,684
  • 50
  • 136
  • 267
-1
votes
1 answer

How to debug in safari

I am beginner in Web,I am new to safari browser. I am debugging a code in safari. I used to do some basic calculations and check some console statements in browser console during debugging. I tried some simple codes. But the following two statements…
Venkat
  • 2,549
  • 2
  • 28
  • 61
-1
votes
1 answer

Javascript Debugger implemented in Javascript

Use-Case An online development environment The development environment is implemented using JavaScript The development environment enable creation of JavaScript code The development environment enable debugging of the created JavaScript Is there…
NadavRub
  • 2,520
  • 27
  • 63
-1
votes
1 answer

how to find where the variable is modified

I have a variable join in a page whose value is either true or false. When I run the page, how can I know which method modified the variable using the debug tool in chrome?
-3
votes
0 answers

Javascript project.Can't fix syntax error : unexpected identifier

I get a syntax error concerning line code matches++ : get error notification line 119 unexpected identifier? Fixed some errors, but still a syntax error appears.` Syntax error occurs at line code let matches =0; I have simpel add semicolon to fix…
Yass
  • 1
  • 2
1 2 3
24
25