Webstorm 2016.2.3 with Meteor 1.4.1.1 does not stop at the Breakpoints (server side)

 

Hi,

I am on WebStorm 2016, Meteor 1.4.1.1, 
In my server-side javascript code for Meteor if I set breakpoints, the breakpoints don't get triggered where I set them. 
Now, I have to add "debugger;" into code to make sure it triggered at that point, but after press "Resume Program" , the next breakpoints don't get triggered again, how can i fix it? I have this problem on OSX and Win7 platform too. Thanks 

11 comments
Comment actions Permalink

debugging server-side meteor code works for me (I'm using the latest METEOR@1.4.1.1). Can you provide a project I can use to recreate the issue? Can you repeat it with any of Meteor project templates?

0
Comment actions Permalink

Thanks, I need sometime to prepare the project.
I have two meteor projects, one is developed on Win7 another one is on OSX, Both of them cannot get triggered at breakpoint. And both of their version are updated from 1.3.8 to 1.4.1.1. Should I recreate a new project and migrate the code into it?

0
Comment actions Permalink

at your convenience... I just need a project that shows up the issue, the way you create it doesn't actually matter. Thanks in advance!

0
Comment actions Permalink

After I recreated a shell project, then reinstall the packages and codes it can be triggered at breakpoint now.
But I will put the problem project on Github tonight, Could you leave a mail box to send the git address to you?

0
Comment actions Permalink

I'd prefer not to publish my email address here, sorry:( Please can you create a new support ticket (https://intellij-support.jetbrains.com/hc/en-us/requests/new?ticket_form_id=66731), choosing WebStorm as a product, and provide a link there?

Thanks in advance!

0
Comment actions Permalink

My request id is (#775268)

0
Comment actions Permalink

Got it, thank you! I'm looking at it now

0
Comment actions Permalink

I could not find the request #775268, but I have the same problem BOTH SERVER and CLIENT SIDE with the tiny toy leaderboard example I am playing around with (2 filles 1 containing 56 lines of coffee and 1 containing 32 lines of jade), see the screen shots below.

0
Comment actions Permalink

From your comments in https://youtrack.jetbrains.com/issue/WEB-19334 I can see that your issue is different; the problem in original post is tracked as https://youtrack.jetbrains.com/issue/WEB-23529

0
Comment actions Permalink

We are experiencing the same problem with our application. We recently upgraded from meteor 1.2 to meteor 1.4, and after the upgrade, the server-side breakpoints were no longer being hit.

Adding the ecmascript package as outlined in https://youtrack.jetbrains.com/issue/WEB-23529 does make that issue go away, I can now hit breakpoints on the server side... however, it breaks other things in our app, as our app was written in ES5. We were wanting to upgrade our app to ES2015 anyway, I guess this will force our hand, but would be nice if we weren't forced to rush the transition.

0
Comment actions Permalink

Hi! any chance to get this fixed? I'm getting the same issue, breakpoints won't stop at all...

Adding meteor add ecmascript didn't fixed the issue...

0

Please sign in to leave a comment.