0.0.24 • Published 7 years ago

devtools-client-adapters v0.0.24

Weekly downloads
4
License
ISC
Repository
-
Last release
7 years ago

DevTools Client Adapters

DevTools Client Adapters provides a common interface for:

  1. getting firefox, chrome, and node tabs
  2. connecting to a tab
  3. communicating with the tab over RDP
get Firefox, Chrome, and Node tabs
client.firefox.connectClient().then(tabs => {
  console.log(tabs)
});

client.chrome.connectClient().then(tabs => {
  console.log(tabs)
});

client.chrome.connectNodeClient().then(tabs => {
  console.log(tabs)
});


client.chrome.connectClient().then(tabs => {
  console.log(tabs)
});
connect to either Firefox, Chrome, or Node
client.startDebuggingTab(tab)
client.startDebuggingNode(tab)
send commands to the process
tab.setBreakpoint({ sourceId: 23, line: 2, column: 0 })
tab.resume()
receive events from the process
tab.on("paused", pauseData => console.log(pauseData))
0.0.24

7 years ago

0.0.23

7 years ago

0.0.22

7 years ago

0.0.21

7 years ago

0.0.20

7 years ago

0.0.19

7 years ago

0.0.18

7 years ago

0.0.17

7 years ago

0.0.16

7 years ago

0.0.15

7 years ago

0.0.14

7 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago