Live Debugging

This is the last deployment you need to make (for collecting logs from your Node.js apps)

By using the Sidekick Node.js agent, you can start collecting stacks & add log points without stopping and redeploying your application. The agent results in near-to-zero overhead so keeping it with your running application creates no surprises.
Baris Kaya
1 mins read

1 Minute Tutorial: Start debugging your Node.js code in production

Node.js comes with its own debugging guide at https://nodejs.org/en/docs/guides/debugging-getting-started/ and there are also many framework-specific solutions for improving developers' life quality.

All are great but production debugging with old-school methods is often challenging, finding ways to collect the stack or add logs when and where needed requires redeployment and restarting of your application.

Sidekick combines live debugging with on-demand logging to bring peace to production debugging.

By using the Sidekick Node.js agent, you can start collecting stacks & add log points without stopping and redeploying your application. The agent results in near-to-zero overhead so keeping it with your running application creates no surprises.

You can set up the Sidekick agent in 5 simple steps:

1-Go to www.runsidekick.com

Register & Create your own workspace (We have a 14-day free trial!)

2-Copy your API key from the web IDE

3-Install Sidekick plugin

https://www.npmjs.com/package/@runsidekick/sidekick-agent-nodejs

4-Put the following code block along with your API key to your applications entry point


const SidekickDebugger = require('@runsidekick/sidekick-agent-nodejs');
SidekickDebugger.start({
apiKey: ''
});

detailed info: https://docs.runsidekick.com/installation/installing-agents/node.js/installation

5-Deploy!

This will be the last deployment you need to do for using Sidekick. You can now use Sidekick web IDE or Sidekick VSCode extension to start adding tracepoints and log points to your applications without stopping & redeploying.

Sidekick never stores your application data or code and comes with webhooks support to help you bring your collected data automatically to anywhere you want from ELK Stack to your slack channels.

Sidekick is available both as a SaaS & an On-premise solution with transparent pricing that you can find at: https://www.runsidekick.com/pricing

Fresh insights from Sidekick experts every week.

Get the best insights, delivered straight to your inbox.