While debugging Visual Studio not stopping on your breakpoints?
This could be that your D365 debug symbols are not loading. There are several settings that need to be set correctly to allow D365 debug symbols to load.
This article will explain how you can troubleshoot this issue (see below)