Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. The Weird and The Wonderful
  4. Using the JavaScript Console Methods To Be a More Effective Debugger

Using the JavaScript Console Methods To Be a More Effective Debugger

Scheduled Pinned Locked Moved The Weird and The Wonderful
javascriptdebugginghelptutorialcode-review
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    David A Gray
    wrote on last edited by
    #1

    [How you can improve your workflow using the JavaScript console](https://medium.freecodecamp.org/how-you-can-improve-your-workflow-using-the-javascript-console-bdd7823a9472) is an excellent summary of the methods afforded by the Console class. Although the context of the article is the Web browser console, the information is equally applicable to the Node console. The examples made clear some methods that weren't entirely obvious without an example and its output to study.

    David A. Gray Delivering Solutions for the Ages, One Problem at a Time Interpreting the Fundamental Principle of Tabular Reporting

    M S G 3 Replies Last reply
    0
    • D David A Gray

      [How you can improve your workflow using the JavaScript console](https://medium.freecodecamp.org/how-you-can-improve-your-workflow-using-the-javascript-console-bdd7823a9472) is an excellent summary of the methods afforded by the Console class. Although the context of the article is the Web browser console, the information is equally applicable to the Node console. The examples made clear some methods that weren't entirely obvious without an example and its output to study.

      David A. Gray Delivering Solutions for the Ages, One Problem at a Time Interpreting the Fundamental Principle of Tabular Reporting

      M Offline
      M Offline
      Marc Clifton
      wrote on last edited by
      #2

      That's useful!

      Latest Article - Building a Prototype Web-Based Diagramming Tool with SVG and Javascript Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

      1 Reply Last reply
      0
      • D David A Gray

        [How you can improve your workflow using the JavaScript console](https://medium.freecodecamp.org/how-you-can-improve-your-workflow-using-the-javascript-console-bdd7823a9472) is an excellent summary of the methods afforded by the Console class. Although the context of the article is the Web browser console, the information is equally applicable to the Node console. The examples made clear some methods that weren't entirely obvious without an example and its output to study.

        David A. Gray Delivering Solutions for the Ages, One Problem at a Time Interpreting the Fundamental Principle of Tabular Reporting

        S Offline
        S Offline
        sibling123
        wrote on last edited by
        #3

        Thank you! This is very much appreciated!

        D 1 Reply Last reply
        0
        • S sibling123

          Thank you! This is very much appreciated!

          D Offline
          D Offline
          David A Gray
          wrote on last edited by
          #4

          You are most welcome!

          David A. Gray Delivering Solutions for the Ages, One Problem at a Time Interpreting the Fundamental Principle of Tabular Reporting

          1 Reply Last reply
          0
          • D David A Gray

            [How you can improve your workflow using the JavaScript console](https://medium.freecodecamp.org/how-you-can-improve-your-workflow-using-the-javascript-console-bdd7823a9472) is an excellent summary of the methods afforded by the Console class. Although the context of the article is the Web browser console, the information is equally applicable to the Node console. The examples made clear some methods that weren't entirely obvious without an example and its output to study.

            David A. Gray Delivering Solutions for the Ages, One Problem at a Time Interpreting the Fundamental Principle of Tabular Reporting

            G Offline
            G Offline
            GuyThiebaut
            wrote on last edited by
            #5

            Thanks :thumbsup: One very useful command not covered in the article is the debugger command. Create a line with debugger; and every time that line is hit the dev tool of the browser will open at that line with the run paused.

            “That which can be asserted without evidence, can be dismissed without evidence.”

            ― Christopher Hitchens

            D 1 Reply Last reply
            0
            • G GuyThiebaut

              Thanks :thumbsup: One very useful command not covered in the article is the debugger command. Create a line with debugger; and every time that line is hit the dev tool of the browser will open at that line with the run paused.

              “That which can be asserted without evidence, can be dismissed without evidence.”

              ― Christopher Hitchens

              D Offline
              D Offline
              David A Gray
              wrote on last edited by
              #6

              Thanks for calling my attention to the debugger command. Though I vaguely remember a reference to it, I've never seen it in action. I'll do my best to remember to do so the next time I'm working on some JScript that runs in a Web browser.

              David A. Gray Delivering Solutions for the Ages, One Problem at a Time Interpreting the Fundamental Principle of Tabular Reporting

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups