Hello there,
Try the below steps and see if that helps.
Select Debug->Options->Debugging->General
Tick Enable .NET Framework source stepping.
Select Tools -> Options -> Projects and Solutions -> Build and Run,
Untick the checkbox of "Only Build startup projects and dependencies on Run",
Select Always Build from the "On Run, when project are out of date" dropdown.
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer--