Debugging a Backbone.js app with IntelliJ IDEA Chrome plugin i encountered this error at same point. Some variables, when using breakpoints, have the following value:
Internal error: org.jetbrains.concurrency.Promise$MessageError: Helper script failed on remote: _jb_debug_helper is not defined
Nevertheless the code is executed correctly. But when i need to watch the values of these variables the debugger becomes useless.
Using console.log(var)
, the specific value is printed as expected, but only when the debug mode is finished.
The problem appears when the application is used inside an iframe. Maybe depends on a syncronization issue.
Start debugging Open the HTML file that references the JavaScript to debug or select the HTML file in the Project tool window. From the context menu of the editor or the selection, choose Debug <HTML_file_name>. IntelliJ IDEA generates a debug configuration and starts a debugging session through it.
IntelliJ IDEA provides a built-in debugger for your client-side JavaScript code. The built-in debugger starts automatically when you launch a debugging session.
With IntelliJ IDEA, you can develop modern web, mobile, and desktop applications with JavaScript and Node. js. IntelliJ IDEA also supports React, Angular, Vue. js, and other frameworks and provides tight integration with various tools for web development.
The problem has been fixed and will be released in 2017.2.3.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With