Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ IDEA 2016.1 JavaScript debugger error

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.

like image 526
Matt Avatar asked Apr 12 '16 15:04

Matt


People also ask

How do I enable JavaScript debugging in IntelliJ?

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.

Can we debug JavaScript in IntelliJ?

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.

Does IntelliJ work with JavaScript?

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.


1 Answers

The problem has been fixed and will be released in 2017.2.3.

like image 69
Eduard Wirch Avatar answered Sep 23 '22 07:09

Eduard Wirch