w3c / strategy

team-strat, on GitHub, working in public. Current state: DRAFT
158 stars 47 forks source link

DevTools Protocol #155

Open sideshowbarker opened 6 years ago

sideshowbarker commented 6 years ago

https://github.com/WICG/devtools-protocol

  • Help empower web developers to build great applications by supporting an ecosystem of diagnostics tools which work well across a variety of targets.
  • Reduce the need for target-specific "devtools protocol adapters" in order to simplify the experience for tool users and tool developers.
  • Provide a vendor-neutral forum to facilitate collaboration and consensus building between different protocol implementations and interested clients.
  • Reduce the engineering investment necessary to build compatible protocol implementations through sharing of test cases.

https://wicg.github.io/devtools-protocol/specification/docs/domains/

Debugger - Debugger domain exposes JavaScript debugging capabilities. It allows setting and removing breakpoints, stepping through execution, exploring stack traces, etc.

Runtime - Runtime domain exposes JavaScript runtime by means of remote evaluation and mirror objects. Evaluation results are returned as mirror object that expose object type, string representation and unique identifier that can be used for further object reference. Original objects are maintained in memory unless they are either explicitly released.