I tried the procedure mentioned in the link https://www.youtube.com/watch?v=bboda7Gj5Hc&list=PLLYksLXV8OcG3-fKtMJgDixBFo3kfeCpD&index=21. But the breakpoints does not get hit and plus the code is published in debug mode.
Followed the following steps: Details: Sitecore 10.2 Visual Studio 2022
- Visual Studio -> Debug -> Attached to process (w3wp.exe)-> added breakpoints
- Refreshed the hosted site
Is there anything I am missing?