When there is difference in file name case in package.json -> main, working with the files in IDE works fine, but breakpoints don't.
Imagine:
_index.js_
```
require('something');
```
_node_modules/something/package.json_
```
{ "main": "lib/SoMeTHiNG.js" }
```
_node_modules/something/lib/something.js_
```
console.log(); // breakpoint here does not hit
```
I'd suggest adding some kind of warning if the file can be found, but the casing is not exactly the same. This could save you a headache if you develop in VS and then try to run it on a Linux production machine.
Imagine:
_index.js_
```
require('something');
```
_node_modules/something/package.json_
```
{ "main": "lib/SoMeTHiNG.js" }
```
_node_modules/something/lib/something.js_
```
console.log(); // breakpoint here does not hit
```
I'd suggest adding some kind of warning if the file can be found, but the casing is not exactly the same. This could save you a headache if you develop in VS and then try to run it on a Linux production machine.