VS Code - Breakpoint Cannot Be mapped
Issue
Breakpoints do not work when using VS Code Debug this method feature on a ClassMethod. Debug runs like normal and I can sometimes see 'running' on the CALL STACK menu. In the BREAKPOINTS menu, the breakpoints will start red, like normal, but eventually turn gray. On-hover for a grey breakpoint is the message "Breakpoint Cannot Be Mapped". After the method finishes, the breakpoint turns red again. No error messages appear. This is an intermittent issue, as sometimes it runs fine. So far, I have not been able to figure out the conditions to re-create this issue.
Any suggestions?
Edit:
After playing around with the code for awhile, I think I've found a method to reproduce the issue. It revolves around adding or modifying comments inside of a class using /* */ and //, but not modifying any code. Interestingly, method comments using #; don't produce the same issue.