I am not able to debug my Karma unit tests in WebStorm. How can I fix it?
I see this message when I click the debug button:
I checked How do I know what's wrong . chrome://extensions shows:
Clicking 'background page' shows:
This SO question showed answers which helped me realize the solution.
The problem was that the JetBrains plugin was trying to debug on port 63343 (not sure why). I noticed Webstorm was serving on port 63342.
To fix the port mismatch, I opened the chrome://extensions tab, found JetBrains IDE plugin, clicked "Options". This opened a new tab where I could adjust the port that the JetBrains IDE plugin was using. I set the port to be the same value that Webstorm was using, then I clicked Apply.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.