---
title: "Discussion on \"Debugging NodeJS Lambda functions locally using LocalStack\" | Hashnode"
description: "Discussion on \"Debugging NodeJS Lambda functions locally using LocalStack\". Unlock the power of local development & debugging for NodeJS Lambda functions with LocalStack & VS Code integration"
url: "https://hashnode.com/posts/debugging-nodejs-lambda-functions-locally-using-localstack/63c7d0cf452657dd7f699700"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Debugging NodeJS Lambda functions locally using LocalStack](https://hashnode.localstack.cloud/debugging-nodejs-lambda-functions-locally-using-localstack?utm_source=hashnode&utm_medium=feed)

Unlock the power of local development & debugging for NodeJS Lambda functions with LocalStack & VS Code integration

Jan 18, 2023 · 7 min read · hashnode.localstack.cloud  
Read the article

-   [#localstack](https://hashnode.com/tag/localstack)
-   [#aws](https://hashnode.com/tag/aws)
-   [#lambda](https://hashnode.com/tag/lambda)
-   [#cloud](https://hashnode.com/tag/cloud)
-   [#serverless](https://hashnode.com/tag/serverless)

## Written by

[Harsh Bardhan Mishra](https://hashnode.com/@harshcasper)

@harshcasper · Darjeeling, India

  
[View profile](https://hashnode.com/@harshcasper)

Engineer @ LocalStack • AWS Community Builder • Open-Source @ moja global • Web, DevOps & Blogging

Hi 👋 My name is Harsh and I'm an Engineer at LocalStack. I write about Open-Source projects, Cloud Toolings, DevOps, and automation!

## Responses 3

Markdown supported · ⌘↵ to post

[Eishia Konno](https://hashnode.com/@eishiakonno)

[Aug 2, 2024](https://hashnode.com/posts/debugging-nodejs-lambda-functions-locally-using-localstack/63c7d0cf452657dd7f699700/comment/66acf38541e18616226e006b)

Hi, thank you for this blog! I have seen LAMBDA\_EXECUTOR and LAMBDA\_REMOTE\_DOCKER is deprecated (since 2.0.0) and will be removed in upcoming releases of LocalStack. When I tried removing it with new Lambda provider on Localstack , it seems to stop working. I'm still finding a solution but if ever have you explored a newer version of this?

[Benjamin Besse](https://hashnode.com/@throrin19)

[Aug 23, 2023](https://hashnode.com/posts/debugging-nodejs-lambda-functions-locally-using-localstack/63c7d0cf452657dd7f699700/comment/64e619f2cae237eabaaba44d)

When I try this, my lambda docker container loop crash and recreate. It works fine if I don't override the LAMBDA\_DOCKER\_FLAGS.

This solution works fine with only one lambda, but if we have more than one, it's impossible to do that

[jcorbett000](https://hashnode.com/@jcorbett)

[May 11, 2023](https://hashnode.com/posts/debugging-nodejs-lambda-functions-locally-using-localstack/63c7d0cf452657dd7f699700/comment/645d12c04d46ef74abc808c3)

Hello, does demo this use the free version? Also if my localstack instance is running remotely can this still work? If so, what changes would you make to this set up?
