Socket
Socket
Sign inDemoInstall

devtools-config

Package Overview
Dependencies
0
Maintainers
11
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    devtools-config

Devtools Local Configuration System


Version published
Weekly downloads
16
Maintainers
11
Install size
88.6 kB
Created
Weekly downloads
 

Readme

Source

Configuration

Npm version

All default config values are in config/development.json, to override these values you need to create a local config file.

  • logging
    • firefoxProxy Enables logging the Firefox protocol in the terminal running npm start
  • chrome Chrome browser related flags
    • debug Enables listening for remotely debuggable Chrome browsers
    • port web socket port specified when launching Chrome from the command line
    • host host specified when launching Chrome from the command line
  • node Node related flags
    • debug Enables listening for remotely debuggable Node processes
    • port web socket port specified when connecting to node
    • host host specified when connecting to node
  • firefox Firefox browser related flags
    • webSocketConnection favours Firefox WebSocket connection over the firefox-proxy
    • host The hostname used for connecting to Firefox
    • webSocketPort Port used for establishing a WebSocket connection with Firefox when webSocketConnection is true or with a firefox-proxy when webSocketConnection is false
    • tcpPort Port used by the firefox-proxy when connecting to Firefox
    • geckoDir Local location of Firefox source code only needed by project maintainers
  • development Development server related settings
  • serverPort Listen Port used by the development server
  • examplesPort Listen Port used to serve examples
  • hotReloading enables Hot Reloading of CSS and React
  • baseWorkerURL Location for where the worker bundles exist

Local config

You can create a configs/local.json file to override development configs. This is great for enabling features locally or changing the theme. Copy the local-sample to get started.

cp configs/local-sample.json configs/local-sample.json

The local.json will be ignored by git so any changes you make won't be published, only make changes to the development.json file when related to features removed or added to the project.

FAQs

Last updated on 05 May 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc