Hi @amrbahaa,
Welcome to Microsoft Q&A!
Are you using Visual Studio Code or Visual Studio? They are two different products.
If it is VS Code, please report it to the dedicated GitHub-vscode forum where you would get support for this product.
If it is Visual Studio, you can close all running VS instances and try to delete the hidden .vs, bin and obj folders in the project folder. Then, debug it again.
Thanks for your understanding.
Sincerely,
Anna
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.