Socket
Socket
Sign inDemoInstall

edge-diagnostics-launch

Package Overview
Dependencies
1
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

edge-diagnostics-launch


Version published
Maintainers
1
Created

Readme

Source

edge-diagnostics-launch

Launcher for Microsoft Edge Diagnostics Adapter to make it simpler to start an instance of the Edge with diagnostics enabled.

Installation

npm install edge-diagnostics-launch

Options

{
  adapterPath: '' // Optional, override adaptor path
  port: 9222, // Optional, override socket port
}

Usage

var launch = require('edge-diagnostics-launch')
var options = {
  adapterPath: '' // Optional, override adaptor path
  port: 9222, // Optional, override socket port
}

// launch(<url>, <options>, callback)
var edge = launch('http://microsoft.com', options, function(err) {
  
  if (err) {
    console.log('Something went wrong when starting Edge', err)
  } else {
    console.log('Edge launched. Go connect')
  }
  
})

edge.on('exit', function(code) {
  console.log('Edge has excited with code', code)
})

// stdout + stderr streams from adaptor
edge.stdout.on('data', function(data) {
  console.log('edge.stdout', data)
})

edge.stderr.on('data', function(data) {
  console.log('edge.stderr', data)
})

License

MIT.

Keywords

FAQs

Last updated on 26 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc