New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@line/headless-inspector

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@line/headless-inspector

## Getting Started


Version published
Maintainers
5
Created

headless-inspector

Getting Started

# serve https://
$ npx @line/headless-inspector --https
$ npx @line/headless-inspector --key=path/to/key.pem --cert=/path/to/cert.pem
# serve http://
$ npx @line/headless-inspector

And then, add the following script tag to the debug target html file.

<script src="//{@line/headless-inspector server domain}:9222/headless-inspector.js"></script>

Your website automatically connects to the local server and send debug information. Each connection has an unique hi_id id. The local server logs the id and devtools URL when the connection from your website is established.

FAQs

Package last updated on 09 May 2022

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