Yeah, I wouldn't expect it to be very easy to put break points in bundled code. Are you running your function with SAM or something like that or just running it locally with node (not as Lamba)? If the latter, I suggest you just use something like ts-node and don't bundle it.
That's also a great use case for TDD where you write a test that you think will interact with your problematic code and shake it out that way. Sometimes TDD = test-driven debugging ;)
yea with SAM ,
sam local invoke lambdaHandler36FF0F39 -d 9999 -e events/1.json ,
well it's a CDK project I play with , I except as long as we move forward to future .... that cdk-serverless will be easier to develop and debug... isn't it all the idea ? :)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Yeah, I wouldn't expect it to be very easy to put break points in bundled code. Are you running your function with SAM or something like that or just running it locally with node (not as Lamba)? If the latter, I suggest you just use something like ts-node and don't bundle it.
That's also a great use case for TDD where you write a test that you think will interact with your problematic code and shake it out that way. Sometimes TDD = test-driven debugging ;)
yea with SAM ,
sam local invoke lambdaHandler36FF0F39 -d 9999 -e events/1.json ,
well it's a CDK project I play with , I except as long as we move forward to future .... that cdk-serverless will be easier to develop and debug... isn't it all the idea ? :)