Getting Firefox to break on your breakpoints can be a challenge. Even until today, many people still believe this is only possible by using Attach to Process ....
It’s not.
You don’t need a web-side project in your solution, either; Firefox is more than capable of handling this.
Simply:
- Load Firefox
- Type “about:config” into FF’s address bar
- Accept the warning
- Search for the entry “dom.ipc.plugins.enabled”
- Change its value from “true” to “false” (double-click)
- Restart the browser
You should be able to hit F5 in Visual Studio and immediately see your breakpoints being hit.