This extension is deprecated. Its functionality is now part of the Microsoft Edge Developer Tools for Visual Studio Code extension.
Перейти к файлу
Michael Liao 117668883e
Merge pull request #2 from microsoft/user/milia/refactoring
SimpleView polyfill refactor
2020-04-14 17:59:33 -07:00
.vscode Polyfill refactor 2020-04-08 11:59:43 -07:00
resources Initial preview 2020-03-10 12:36:24 -07:00
src Removing unused code 2020-04-08 12:43:46 -07:00
.gitignore Initial preview 2020-03-10 12:36:24 -07:00
.vscodeignore Initial preview 2020-03-10 12:36:24 -07:00
CODE_OF_CONDUCT.md Initial CODE_OF_CONDUCT.md commit 2020-03-09 09:46:23 -07:00
CONTRIBUTING.md Initial preview 2020-03-10 12:36:24 -07:00
LICENSE Updating LICENSE to template content 2020-03-09 09:46:24 -07:00
README.md Initial preview 2020-03-10 12:36:24 -07:00
SECURITY.md Initial SECURITY.md commit 2020-03-09 09:46:28 -07:00
azure-pipelines.yml Initial preview 2020-03-10 12:36:24 -07:00
demo.gif Initial preview 2020-03-10 12:36:24 -07:00
icon-dark.png Initial preview 2020-03-10 12:36:24 -07:00
icon.png Initial preview 2020-03-10 12:36:24 -07:00
jest.config.json Initial preview 2020-03-10 12:36:24 -07:00
package.json Polyfill refactor 2020-04-08 11:59:43 -07:00
postBuildStep.ts Removing unused code 2020-04-08 12:43:46 -07:00
tsconfig.json Initial preview 2020-03-10 12:36:24 -07:00
tslint.json Initial preview 2020-03-10 12:36:24 -07:00
webpack.config.ts Initial preview 2020-03-10 12:36:24 -07:00

README.md


Visual Studio Code - Network for Microsoft Edge (Chromium)

Show Edge browser Network tool inside Visual Studio Code editor and use it to know details about network requests.

A Visual Studio Code extension that allows to use the Edge browser Network tool from within the editor. The Network tool will connect to an instance of Microsoft Edge giving the ability to see network requests details.

Note: This extension only supports Microsoft Edge (Chromium)

Network for Microsoft Edge - Demo

Using the Extension

Getting Started

For use inside Visual Studio Code:

  1. Install any channel (Canary/Dev/etc.) of Microsoft Edge (Chromium).
  2. Install the extension.
  3. Open the folder containing the project to work on.

Using the tools

The extension operates in two modes - it can launch an instance of Microsoft Edge navigated to your app, or it can attach to a running instance of Microsoft Edge. Both modes requires you to be serving your web application from local web server, which is started from either a Visual Studio Code task or from your command-line. Using the url parameter you simply tell Visual Studio Code which URL to either open or launch in the browser.

Other optional launch config fields

  • browserPath: The full path to the browser executable that will be launched. If not specified the most stable channel of Microsoft Edge (Chromium) will be launched from the default install location instead.
  • hostname: By default the extension searches for debuggable instances using localhost. If you are hosting your web app on a remote machine you can specify the hostname using this setting.
  • port: By default the extension will set the remote-debugging-port to 9222. Use this option to specify a different port on which to connect.

Launching the browser via the side bar view

  • Start Microsoft Edge via the side bar
    • Click the Network for Microsoft Edge view in the side bar.
    • Click the Open a new tab icon to launch the browser (if it isn't open yet) and open a new tab.
  • Attach the Network tool via the side bar view
    • Click the Attach icon next to the tab to open the Network tool.

Launching the browser manually

  • Start Microsoft Edge with remote-debugging enabled on port 9222:
    • msedge.exe --remote-debugging-port=9222
    • Navigate the browser to the desired URL.
  • Attach the Network tool via a command:
    • Run the command Network for Microsoft Edge: Attach to a target
    • Select a target from the drop down.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

See CONTRIBUTING.md for more information.

Other information

Data/Telemetry

This project collects usage data and sends it to Microsoft to help improve our products and services. Read Microsoft's privacy statement to learn more.

Reporting Security Issues

Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) at secure@microsoft.com. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the Security TechCenter.