Using The NodeJS Debugger On Code Called From Grunt (And Grunt-Jasmine-Node Specs)

debugging-grunt-jasmine-node.jpg

I found myself needing to run a debugger on my Jasmine specs. The really fun part is that I am running these specs through the grunt-jasmine-node plugin for grunt. This means what I really need to do is run a debugger on top of grunt, and have it hit my Jasmine specs when they get around to being executed.

Pogo Connect vs Pencil

pogoconnect-vs-53pencil.png

If you’ve been paying attention to my blog and/or my weekly email in the last month or two, you’ve probably noticed all the hand-drawn illustrations. I can’t say I had really planned on doing this, at first, but once I started I couldn’t stop. I love drawing these little stick figures and scenes to visualize […]

Do You Polish And Shine What You Have, Or Build More?

build-or-polish.png

“I have so many things I want to do. But I’m constantly torn: should I polish the things I have in place, already? Or should I build new features that will be more attractive?” – me (basically), talking to my friend and coworker, Justin Gregory, at lunch. It’s a constant struggle with me. I see […]

Need Admin Tools And Reports For Your SaaS? Build A Separate Site

separate-admin-site.png

In the last year, I’ve used command line tools to run various reports for SignalLeaf. It’s worked out well, but I’ve outgrown the usefulness of these reports. It’s not that the reports themselves are no longer useful – but the format in which they are displayed, and the limited interactivity of them. I need to […]

Living The Dream. Or Is It A Nightmare?

scared-of-success.png

Have you ever heard of Etsy? Or Ebay? Maybe you’ve heard of Twitter or Gawker? How about Crashlytics or Airbrake, or Raygun? Of course you have. These are well known names on the internet and in techie circles. I mean, who hasn’t heard of Twitter and Ebay, even outside of the techie circles? Maybe people […]

Debugging Browserified Unit Tests In A Real Browser

phantom-jasmine-debug.png

In a previous post, I showed how to run browserified unit tests in a headless browser using PhantomJS and grunt-contrib-jasmine. Shortly after posting that, I found myself needing to run a debugger on my tests (because console.log debugging is not sufficient).  What to do? How do I get a debugger attached to my grunt-contrib-jasmine specs? […]

Build Your Own App Specific REPL For Your NodeJS App

app-specific-repl.png

Nicole Sullivan asked a question on twitter:  Is there something like rails c or irb in node? — Nicole Sullivan (@stubbornella) July 3, 2014 I was immediately intrigued by the possibility of having an equivalent of a “rails c” for my NodeJS apps, so I started digging in. Rails C? IRB? What? In case you’re […]