Debug IConfiguration #1841
Unanswered
DennisJansenDev
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey guys,
I am trying to debug my lambda using the lambda mock test tool for dotnet 8. Using it in rider, it was a bit of a hassle to setup, but it works now. But while debugging the application I started to notice that I can't watch my IConfiguration, it does get values out of the IConfiguration, which in turn it loads from the parameter store in AWS. So it does get the values, but I can't look into the object, it is giving me a
ArrayTypeMismatchException
when trying to fold open the IConfiguration during debugging. Even when just constructing the IConfiguration myself, before we load anything from the parameter store into it, it gives that exception. But when I run a console app without the lambda mock test tool, I can debug the IConfiguration just fine. So my gut feeling says it has something to do with the lambda mock test tool, can anyone confirm? Or does anyone have a work around for it? I am really starting to dislike AWS and its lambda's because it is so a hassle to debug and setup....Picture of debugger for clarity:
Beta Was this translation helpful? Give feedback.
All reactions