Open nishant-newton opened 2 years ago
Result of https://github.com/aws/aws-lambda-dotnet/issues/1169#issuecomment-1225015482. Needs review with the team. @nishant-newton Feel free to submit the PR which could be reviewed by the team.
Thanks @ashishdhingra PR submitted https://github.com/aws/aws-lambda-dotnet/pull/1330 @normj FYI
Describe the feature
We can debug the
Lambda function
from theweb page
of thisLamdaTestTool
. This new feature will allow to create thehttp
end points so thatlambda functions
can be called throughhttp
in the local environment fordebugging
purposeUse Case
When
Lambda functions
are called throughhttp
protocol i can'tdebug
them inVisual Studio
and if there are multiplelambda functions
involved inmicroservice architecture pattern
thendebugging
is a nightmareProposed Solution
Creating the
http
mapping for therequest
. Thetool
already parses theyml
file and map thehandler
andfunction
name.yml
file also contains thehttp
end point details forAWS Api Gateway
. Oncehttp
requests are handled, the logic fromindex.razor
file can be put in someservice class
.Other Information
The
Lamda functions
are tightly coupled with the infrastructure. As a Developer i want to have an experience where i could debug solutions locally and if there are multiple projects involved and they makehttp
calls to each, i should be able todebug
them locallyAcknowledgements
AWS .NET SDK and/or Package version used
LamdaTestTool does not use AWS SDK
Targeted .NET Platform
.NET 3.1, .NEt 5.0, .NET 6.0
Operating System and version
Windows, Linux, Mac