Since Oracle JET applications are client-side HTML5 applications written in JavaScript, you can use your favorite browser's debugging facilities.
You can also use debugging tools such as the one provided by the NetBeans IDE, which will allow you to set break points and watches. For details, see Debugging and Testing JavaScript in an HTML5 Application.