How can I debug the downloaded webpage instead of the attempted download of the source?

The application I am developing requires authentication. After logging in, I access the program, for example http://website/program
Now, when I press F12 and look in the debugger, the source for this program displays the login page source instead of the actual program that is displayed in the web browser.

The Inspector shows the javascript that I want to debug, but the debugger > sources shows the login page.

How do I debug the javascript that is displayed in the inspector? It doesn’t seem to be anywhere in the Debugger tab of the developer tools

I have the same problem. Is there a solution to this?

Version 67.0.1 64 bit on Windows 7

Thanks for sharing. This is something we have seen before and have some bugs for in bugzilla

One bug that comes to mind is this one