Q:

Unable to set breakpoints inside node_modules (WebStorm)

I use Webstorm to debug my applications. Setting breakpoints works great and my breakpoints will be hit by the debugger. If I set a breakpoint inside a script that is inside node_modules, then it doesn't work anymore. It should have something to do with WebStorm, because Node Inspector works fine with the same code.
It seems to be generic for all packages, but I have created a sample application that only uses the BlueBird package. Debug the following program inside WebStorm (make sure you run npm install bluebird before).
Promise = require('bluebird');

var promise = new Promise(function(resolve, reject) {
  console.log("Waiting 5 seconds...");
  setTimeout(function(){
    console.log("Resolving...");
    resolve();
  }, 5000);
});

promise.then(function(){
  console.log("Resolved.");
});

This bogus program works fine. When I step into the promise.then part of the code I hit line 111 of promise.js (function Promise.prototype.then of the BlueBird package). When I set a breakpoint on that line and rerun the code, then it doesn't stop there. Breakpoints in my own code do work fine.

A:

looks similar to WEB-18160, it's fixed in 11.0.2 that is coming soon

