mmarchini-oss / node-observe

Inspector Protocol made easy
MIT License
13 stars 3 forks source link

feat: add --close flag #18

Closed mmarchini closed 1 year ago

mmarchini commented 1 year ago

Add --close flag to close inspector protocol host on the inspected process. This might kill existing connections from other tools, or could block the inspected process' event loop, so use at your own risk.

codecov-commenter commented 1 year ago

Codecov Report

Merging #18 (5abb006) into develop (84f6745) will decrease coverage by 0.30%. The diff coverage is 100.00%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@             Coverage Diff             @@
##           develop      #18      +/-   ##
===========================================
- Coverage    94.30%   94.01%   -0.30%     
===========================================
  Files           11       11              
  Lines          123      117       -6     
===========================================
- Hits           116      110       -6     
  Misses           7        7              
Impacted Files Coverage Δ
lib/commands/cpu-profile.js 100.00% <ø> (ø)
lib/commands/heap-profile.js 100.00% <ø> (ø)
lib/commands/heap-snapshot.js 100.00% <ø> (ø)
bin/common.js 82.14% <100.00%> (+4.87%) :arrow_up: