Module @bubblydoo/uxp-devtools-common - v0.0.13

Shared connection utilities for talking to Photoshop's UXP runtime via Adobe DevTools + CDP.
Install
pnpm add @bubblydoo/uxp-devtools-common
Usage
import { setupDevtoolsConnection } from '@bubblydoo/uxp-devtools-common';
const connection = await setupDevtoolsConnection('/absolute/path/to/plugin');
console.log(connection.url); // ws://... CDP URL
Details
- Uses patched Adobe devtools packages (
@adobe-fixed-uxp/*) and wraps the Vulcan handshake needed to load/debug a plugin.
- Returns a teardown function that unloads the plugin and terminates the native DevTools helper, which prevents hanging processes.
Interfaces
- CdpSession
- DevtoolsConnection
- UxpConnection
Functions
- createUxpConnection
- evaluateInUxp
- setGlobalUxpLogger
- setGlobalUxpLoggerLevel
- setupCdpSession
- setupCdpSessionWithUxpDefaults
- setupDevtoolsConnection
- waitForExecutionContextCreated