Why netbeans does not stop at my break points in js code?

i’m
using netbeans for my web development. but im struggling with debugging with java script code. when i put a break point at

  <script> 
    $('document').ready(function(){ 
        $('img[alt="pencils"]').hide().slideDown(2000);  //<-- break point
    });
  </script>

as show in the following video, it does not stop at the break point. here is the video

is there a way to fix this?

Hi Phil,

As far as I know, Netbeans will only allow you to debug PHP and Java from within the IDE. To debug JavaScript you’ll need to open your browser’s developer tools and add breakpoints to your code from there.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.