loshia

blogs the world

How to debug NPAPI plugins under Firefox

You want to debug your glorious NPAPI plugin for Firefox and Chrome only to find out that the breakpoints do not work when you start the Visual Studio up. That happens because the browser spawns all the plugins in their own processes.

To disable this behaviour under Firefox open about:config and set dom.ipc.plugins.enabled to false.

Happy debugging!

[source]