Hello @Hira SAleem,
Welcome to Microsoft Q&A forum.
You can also refer to this blog: Make Debugging Faster with Visual Studio.
The hidden .vs folder which is stored in your solution folder contains some debugging information. You can try to rename it, rebuild, debug your project again.
Sometimes, the installed/used extensions make VS debug slowly, you can try to disable them temporarily for testing. If possible, updating VS may be also helpful.
Best Regards,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.