Javascript, how to use the debugger

Hi everyone,
Trying to learn JS debugger I wrote thre following code:

<!DOCTYPE html>
<title>Listing 2.2</title>
var x = 213;

Running that code in Firefox browser I only get a blank display :frowning:
I added “Firebug” extension to the browser but I get no implication of why nothing appears on my display.
Can anyone help me with that? I’d like to see what value is attached to the x variable.

You’re not seeing something like this in your dev tools?

Here is what I get:

Click the console tab in the debugger. That will log any console statements (as your code does have).

1 Like

Thank you RyanReese

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.