Search code examples
c#.net-coreaws-lambdajetbrains-iderider

Unable to Debug Lambda locally in Rider


I'm using Jetbrains Rider with Mock Lambda Test Tool and for some reason I am unable to Debug my code with the tool - the Debug button in Rider is just greyed out:

enter image description here

Here is my Run/Debug Configuration:

enter image description here

And this is my launchSettings.json file:

enter image description here

The Mock Lambda Test Tool launches fine in the browser fine when just clicking "Run", but can't Debug in that mode.

Any help or pointers would be great


Solution

  • Solved the problem by using .NET Executable instead of .Net Launch Settings Profile.

    I set the Exe path to to be C:/Users/$(USERNAME)/.dotnet/tools/.store/amazon.lambda.testtool-3.1/0.10.1/amazon.lambda.testtool-3.1/0.10.1/tools/netcoreapp3.1/any/Amazon.Lambda.TestTool.WebTester31.dll

    And the working directory as the Project Root of my Lambda project.