🔊 I'm running ffconf: UK's best JS & webdev conf. Find out more & get tickets 📢

tracegl for JavaScript debugging


In preparing for my new Node workshop (tickets go on sale Wednesday 10am - set alarm!) my tool of choice used to be node-inspector but development has gone idle (for a year to date) and it's showing it's age. However, recently I came across tracegl I was intrigued as it looked to add to my debugging tools for Node.

tracegl was so much more than I realised: it captures full JavaScript state a all points of my application's execution - both on the server side, but also the client side.

Debugging a real bug with tracegl

Rik Arends includes an introductory video on the site, and the script is €12 - which frankly is a steal for what it provides me. If you're join my Node workshop - I'm proving a licensed copy for everyone (because I think it should be part of your core stack).

I've included a short video of how I've used tracegl to debug my server side application. A few important things to note are: the trace is historical - and not blocking execution, which is what I'd normally do if I had to debug: I'd carefully replicate the issue, then either add a conditional breakpoint or debugger statement - but with tracegl, the bug can occur, and if tracegl is running, I can just look back at the state of the problem.

Learning more

I'm running a new crash course in Node on July, and similar the past it's known to have sold out in a week. Tickets go on sale on Wednesday at 10am (UK) and will be available here.

I'll be using this tool and many others to give you a fully packed day of knowledge on how to use Node, how to develop sites and real-time applications, and what tools I use for debugging, publishing and deployment.

So grab a ticket if you want my hands on, "knowledge smash & grab" course (or check out more details here).

Posted 13-May 2013 under javascript & node & web.

I am Remy Sharp

I'm a JavaScript developer working professionally on the web since 1999. I run my own consultancy, build products, run training, speak at conferences and curate the UK's best JavaScript event.


Posts, web tech insights, exclusive workshop and training discounts and more, direct to your inbox.