Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug lambda functions locally #71

Closed
Safi1012 opened this issue Oct 27, 2018 · 3 comments
Closed

Debug lambda functions locally #71

Safi1012 opened this issue Oct 27, 2018 · 3 comments

Comments

@Safi1012
Copy link

Hi,

is there a way to debug lambda functions locally? I already looked in the docs, but did't find anything which points in that direction.

I'm missing the ability to set an --inspect flag (which is common when debugging node applications) or something similar to start a debug mode, when serving my lamdba functions with netlify-lambda serve.

I know that I can log everything with console.log(), but this can be a bit tedious.

Am I missing something here?
Any help would be greatly appreciated!

@swyxio
Copy link
Contributor

swyxio commented Nov 6, 2018

hi,

i dont think we support this at the moment. sorry. :( i would either console.log things or use debugger.

@swyxio
Copy link
Contributor

swyxio commented Nov 6, 2018

feel free to reopen if any followup qtns

@swyxio swyxio closed this as completed Nov 6, 2018
@stefan--
Copy link
Contributor

see #83

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants