Variable: PLASMA_DEVTOOLS_SOURCE
Variable: PLASMA_DEVTOOLS_SOURCE
Section titled “Variable: PLASMA_DEVTOOLS_SOURCE”
constPLASMA_DEVTOOLS_SOURCE:"plasma-devtools"
Defined in: devtools/src/protocol.ts:15
postMessage protocol between an in-page plasma runtime and a
Chrome DevTools extension (or any external inspector). Every
message is a plain object whose top-level tag is
source: "plasma-devtools" — a receiver filters on that first so
unrelated window.message events (SDKs, iframes, other devtools
bridges) never touch our handling.
The message set is intentionally small — a devtools panel gets
everything it needs by consuming state-update snapshots and
emitting command requests. Extending the surface later is a
matter of adding a new type — receivers unknown-tag-tolerant by
design.