Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to open javascript developer console from SAP HTML Viewer

We have a custom web application that gets used via normal desktop browser, including IE, Chrome, and Firefox. When troubleshooting javascript type issues with this application, we can use the F12 button to open the javascript developer console.

This web application is also referenced inside of SAP GUI via the HTML Viewer.

The trouble that we have is that clicking F12 does not open the javascript developer console for us. Does anyone know how we go about opening this javascript developer console for a web application within SAP GUI HTML Viewer?

like image 870
Stephen Avatar asked Feb 09 '18 16:02

Stephen


People also ask

How do I open the JavaScript Console?

From there, you can select More Tools then Developer Tools. This will open a panel where you can click on Console along the top menu bar to bring up the JavaScript Console if it is not highlighted already:

How do I open a JavaScript code in developer tools?

There’s an error in the JavaScript code on it. It’s hidden from a regular visitor’s eyes, so let’s open developer tools to see it. Press F12 or, if you’re on Mac, then Cmd + Opt + J. The developer tools will open on the Console tab by default.

How do I open the web developer menu?

From there, click on the Developer button symbolized by the wrench icon, which will open the Web Developer menu. With that open, click on the Web Console menu item.

How do I open the console in DevTools?

Press Command+Option+J (Mac) or Control+Shift+J (Windows, Linux, Chrome OS) to open the Console, right here on this very page. Figure 2. This tutorial on the left, and DevTools on the right.


1 Answers

If you're using newer versions of windows, you might want to give F12Chooser.exe a try. It's the same developer console you would get from hitting F12 on IE, but it gives you the ability to choose a target to debug.

You can find the exe at C:\Windows\SysWOW64\F12\F12Chooser.exe (change SysWOW64 by System32 if you're on a 32bit machine)

like image 117
maurcz Avatar answered Sep 16 '22 18:09

maurcz