Problem Debugging Content Script in Edge

Issue #13829248 • Assigned to Steven K.

Details

Created
Sep 19, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
40
Reports
Reported by 2 people

Sign in to watch or report this issue.

Steps to reproduce

I am having issues using the F12 tool to debug content script. I have added a simple Edge Extension that change the color and font of a web page. The script is very simple. The problem is that I do not see the Content Script nor the Extension in the Debugger after pressing F12.

Attachments

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Steven K.”

  • Hi Robert,

    This link might be of useful.  Look at the section starting with "Content script debugging".

    https://docs.microsoft.com/en-us/microsoft-edge/extensions/guides/debugging-extensions

    Also, I attached a screenshot, with highlights, of my debug session of your script.

    Let me know if you this is not the issue.  Appreciate the support,

    The MS Edge Team

  • “might be of useful” Me speak pretty one day… :-/

  • I’m seeing the same issue using the very simple text_swap sample extension. See https://stackoverflow.com/questions/46415325/how-can-a-microsoft-edge-content-script-be-debugged for more info.

  • BTW, @Steven K. – the documentation you point to just doesn’t seem to work for Content Scripts any longer.

  • the issue I see is that the ContentScriptExample does not show on the Debugger tab. So we are unable to debug this simple example. The script is loaded and the text font changes, but the script does not show

  • the issue I see is that the ContentScriptExample does not show on the Debugger tab. So we are unable to debug this simple example. The script is loaded and the text font changes, but the script does not show

You need to sign in to your Microsoft account to add a comment.

Sign in