addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1light-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

JavaScript Debugging

This month's meetup is all about dubugging. We're going to be hosted by the fine folks at SportsLabs. 

As usual we'll open the doors at 6pm and then jump into our beginner track talk at 6:30pm. 

Main talks start at 7pm, led by Pete Lyons.

Pete will go over the basics of using the javascript debugger included with Chrome Developer Tools including breakpoints, stepping through code, watch expressions, etc. He will explain how to use node-inspector to debugnode.js server code as well as mocha test code, and how to write debugger-friendly javascript.

I'm looking forward to seeing everyone on Wednesday!

Join or login to comment.

  • Peter L.

    Looks like Chrome is getting some even fancier and powerful tools for async debugging: http://www.html5rocks.com/en/tutorials/developertools/async-call-stack/

    April 22, 2014

  • Peter L.

    So I followed-up on Dehru's suggestion that chaining style code could be easier to step over/into by adding newlines, but I don't think that helps. I think "step over" steps over a single javascript statement, even if it spans multiple lines. I have some code like this:

    comment
    .find({modelId: req.query.modelId})
    .sort({createdAt: -1})
    .limit(req.pageSize)
    .skip(req.offset)
    .toArray(sendJson(res));

    and if I have a breakpoint at the top and hit step over once, I'm passed all of those chained calls.

    Anyone have a better way to deal with this than hitting step in/step out repeatedly?

    April 15, 2014

  • Michael H.

    Hey Pete - Didn't you say you have a screencast of the node-inspector tutorial you went over last night?

    March 20, 2014

    • Peter L.

      There's a blog post here: http://peterlyons.com...­ The screencast just covers the browser debugging stuff but the blog post text has the details and diagrams about node-inspector.

      March 20, 2014

    • Michael H.

      leveling up ..

      March 20, 2014

  • Dehru C.

    Peter, the node-inspector stuff you showed last night is really awesome. I'm just beginning to use node now. So when playing with it today. I noticed that in the new version of node-inspector, the command line 'node-debug script.js' automatically launches the browser on the correct port AND adds the --debug-bk for you. These tools are moving so fast to make our lives easy!

    2 · March 20, 2014

  • Brian R.

    Thanks Peter for the debug session!

    March 20, 2014

  • Matt S.

    Good talks.

    March 20, 2014

  • A former member
    A former member

    Awesome. Thanks for sharing Dehru!

    March 20, 2014

  • Dehru C.

    Here's an article from this weeks Javascript Weekly on debugging. http://amasad.me/2014/03/09/lesser-known-javascript-debugging-techniques/

    2 · March 19, 2014

  • A former member
    A former member

    Fantastic. Enjoyed the beginner intro, and the deeper dive into debugging w/ Chrome dev tools!

    2 · March 19, 2014

  • Michael H.

    Won't be there until ~7pm. Looking forward to Pete's talk. He's incredibly knowledgeable and an awesome speaker!

    2 · March 19, 2014

Our Sponsors

  • CodeCraft

    CodeCraft offers a 10-Week JavaScript based full-stack immersion program

  • Cognizant Accelerator

    Cognizant Accelerator hosts the monthly meetups and pays for Meetup.com.

  • Galvanize

    Hosts our events. They want to make education + growth accessible.

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy