Visual Studio Attach to (Epicor) Process

ive had it working in 10.1 tho hitting break points can be pretty sketchy. It will go from working great to not at all in seemingly no time flat and leave you scratching your head. When it stops working I’ve never found a reliable method to fix it.