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

Need "Debugging CDK Apps" section #25

Open
Doug-AWS opened this issue Jun 20, 2019 · 3 comments
Open

Need "Debugging CDK Apps" section #25

Doug-AWS opened this issue Jun 20, 2019 · 3 comments
Assignees
Labels
p2 The issue should be resolved

Comments

@Doug-AWS
Copy link
Contributor

Replaces this issue created by Doug-AWS on Apr 1 in the CDK repo: aws/aws-cdk#2153.

Original description: none

@Doug-AWS Doug-AWS added the p2 The issue should be resolved label Jun 20, 2019
@Doug-AWS Doug-AWS self-assigned this Jun 20, 2019
@reidca
Copy link

reidca commented Jan 3, 2020

I have searched everywhere to see how to do this. I wanted to understand why I was getting an undefined returned for an object and therefore wanted to debug the application. I am a novice at typescript in general but have searched high and low for how to attach a debugger and stop at a breakpoint in VS Code to no avail. Anyone that knows how to do this please create a guide or bullet points to follow, this would be a huge benefit. Thanks.

@alexIsAtGitHub
Copy link

Hey @reidca I think you'll need to use aws-sam. That said I have not been able to successfully debug with in my CDK application but running locally (with out debug) is fine. When trying to attach the debugger I continue to get a "Error: Cannot find module 'aws-sdk'" meaning its not looking in my node_modules for some reason.

@alexIsAtGitHub
Copy link

alexIsAtGitHub commented Jan 24, 2020

this is also related aws/aws-cdk#716

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p2 The issue should be resolved
Projects
None yet
Development

No branches or pull requests

3 participants