UXP Toolkit
    Preparing search index...

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

    @bubblydoo/uxp-devtools-common

    NPM Version

    Shared connection utilities for talking to Photoshop's UXP runtime via Adobe DevTools + CDP.

    pnpm add @bubblydoo/uxp-devtools-common
    
    import { setupDevtoolsConnection } from '@bubblydoo/uxp-devtools-common';

    const connection = await setupDevtoolsConnection('/absolute/path/to/plugin');
    console.log(connection.url); // ws://... CDP URL
    • 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.
    • Ships with a fake-plugin folder used by tools that need a valid UXP target even when you do not have a plugin project ready.

    Interfaces

    CdpSession
    DevtoolsConnection
    UxpConnection

    Functions

    createUxpConnection
    evaluateInUxp
    setGlobalUxpLogger
    setGlobalUxpLoggerLevel
    setupCdpSession
    setupCdpSessionWithUxpDefaults
    setupDevtoolsConnection
    waitForExecutionContextCreated