'How to debug a Chrome extension in WebStorm?

I loaded a Chrome extension in Chrome using load unpacked in developer mode. I know how to debug inside Devtools.

How does one develop and debug an extension using WebStorm where WebStorm's breakpoints in the extension's Javascript get hit?



Solution 1:[1]

No special support for debugging Chrome extensions is currently provided, see WEB-9708.

The IDE can attach a debugger to a running Chrome instance started with --remote-debugging-port option using Attach to Node.js\Chrome run configuration; see if it works for you

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 lena