A developer creates a custom Client Library named foobar.
This Client Library embeds 5 other Client Libraries and contains 10 JavaScript source files. One of these files, called foo.js, has a bug on line 8 which causes an exception. The Client Library is throwing this exception on line 1350 when it is included on a webpage.
How should a developer find the exact line in foo.js where the exception has been thrown?
- 1. Enable JS/CSS minification in OSGi configuration console for HTML Library Manager.
2. Check the JavaScript exception log in the OSGi web console. - 1. Temporarily remove the embedded Client Libraries of the foobar Client Library.
2. Use the browser JavaScript debugging tools. - 1. Add the selector debugClientLibs to the page request.
2. Check the JavaScript exception log in the OSGi web console. - 1. Add the query parameter debugClientLibs=true to the request.
2. Use the browser JavaScript debugging tools.
Reveal Solution Next Question