简体   繁体   中英

WebStorm stops on wrong file when debugging a Node.js application

I'm trying to debug a Node.js app that runs on a remote server (on my local network). Node is ran with --debug=7000 and WebStorm can connect to it without any problem.

My app depends on a few Node.js modules, and some of them contain index.js files, as well as my app.

When I set a breakpoint in the index.js of my app (I mean: a file I have written, not a one inside modules), WebStorm does not stop on it, but stops on every index.js that is being executed before mine, which is very (very) annoying...

Did someone encounter the same issue? And did someone find a solution?

Thank you very much!

已知错误,请按照WEB-12265进行更新

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM