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

Simple question: Where to get the function ID of AWS Lambda #2

Closed
BaibhavVishal123 opened this issue Sep 21, 2017 · 2 comments
Closed
Assignees
Labels

Comments

@BaibhavVishal123
Copy link

BaibhavVishal123 commented Sep 21, 2017

Hi,

I am new to Lambda. Googled a lot, but can you tell where to find the function ID which needs to be configured in "DEBUGGER_FUNCTION_ID" in launch.json.

A sample launch.json would be nice.

@azurelogic azurelogic self-assigned this Sep 21, 2017
@azurelogic
Copy link
Contributor

Hi @BaibhavVishal123,

Sorry for the ambiguity there. The DEBUGGER_FUNCTION_ID is a unique string of your own choosing. It's just a shared identifier between the Lambda and the URL used to connect the debugger to the broker. Think of it as a preshared key of sorts. As far as uniqueness goes, it just needs to be unique relative to any other function IDs that you (or a teammate using the same broker instance) use with other functions. Does that clear things up?

I have updated the documentation to try to make this more clear.

As for the launch.json for VS Code, I haven't had time to figure that one out myself yet. Chrome DevTools work pretty well though. If you do figure out the launch.json config, please feel free to send a PR for the README.

Thanks!

@azurelogic
Copy link
Contributor

Assuming this solves it. Closing. Feel free to reopen if you still have an issue here. Thanks!

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

No branches or pull requests

2 participants