
Realtime Debugging support for NodeJS

Realtime Debugging support for Node.js is here!
Great news everyone! We are glad to announce Sidekick support for Node.js. Whether you are working on a dev branch or prod, you can now remotely debug your running Node.js applications using Sidekick’s web IDE.

TLDR;
You can find our Node.js agent here: https://www.npmjs.com/package/@runsidekick/sidekick-agent-nodejs
Related docs here: https://docs.runsidekick.com/installation/installing-agents/node.js
Last few months we worked hard to discover developer pain points and started working.
In this post, I'll show you how you can quickstart debugging your Node.js applications using Sidekick.
To keep everything nice and short I've started with the Hello World example from Express.js' website. (http://expressjs.com/en/starter/hello-world.html)
Then I plugged in body-parser and added a new endpoint to demonstrate what you can achieve in a few seconds.
So as you can see, my new endpoint is returning a part of the request body. Now we will use Sidekick to observe more and see what other information was included in the request body.
First, we will install our Sidekick Node.js agent.
Then we will sign in to our Sidekick account and copy the API Key of our workspace.
Sidekick comes with a 7-day free trial so you can use this link to sign up and follow along with this article.
Then we will add the Sidekick agent on top of our project. Final code will look like this.
And we are good to go. Now we can run our application and start observing its state on the go.
To put your first tracepoint, head to app.runsidekick.com
Select your running application.

Add your tracepoint and call your endpoint to collect related data.


There you go, now that you have collected your data you can observe what is going on behind the curtains.

As you can see starting with Sidekick is a breeze.
If you liked this article and learn more about Sidekick you can check out our docs and start using it right away!