/adobe:debuggingfrom adobe
Use when code inside an Adobe application misbehaves at runtime and its cause is unproven (wrong value in a UXP plug-in or script, breakpoint that never binds, ExtendScript or Acrobat failure, host hang or crash), covering UXP Developer Tools sessions, reloads, ExtendScript stops, Acrobat failure lines, host logs, and crash reports
Ships in adobe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Covers UXP plug-ins and scripts, ExtendScript, and Acrobat JavaScript inside Photoshop, InDesign, Illustrator, After Effects, Premiere Pro, Media Encoder, and Acrobat on macOS. Use tool:debugging for the method, session answers, crash reports, and the report, typescript:debugging for js-debug and source maps, and adobe:coding for host APIs and manifests.
[REFERENCES]:
Each question takes one route:
| [INDEX] | [QUESTION] | [ROUTE] |
|---|---|---|
| [01] | Wrong value or exception in a UXP plug-in | Plug-in session on the TypeScript line |
| [02] | Wrong value in a UXP script | Script session on its source line |
| [03] | Fixed source not running in the host | Reload, then a stop on the fixed line |
| [04] | Plug-in silent, no stop, no answer | Host logs before any theory |
| [05] | Host hangs, crashes, or quits | Sample or crash report, then host facts |
| [06] | ExtendScript stop or failure, Acrobat failure | references/scripts.md |
| [07] | Native plug-in, CEP panel, Generator plug-in | references/native.md |
Facts read before a UXP session, in order:
cat "/Library/Application Support/Adobe/UXP/Developer/settings.json" prints {"developer": true}, else every host refuses a development loadapplications of server atelier lists the host running, else applications open with activate falselsof +c 0 -nP -iTCP:<port> -sTCP:LISTEN lists one listener, Adobe\x20UXP\x20Developer\x20Tools, where <port> is port of ~/Library/Application Support/Adobe/Adobe UXP Developer Tool/app_prefs.json, else 14001jq '{id, host, entrypoints, main}' <build>/manifest.json names the plug-in and its hostjq '{version, sources}' <build>/main.js.map prints sources relative to <build>, and tail -c 150 <build>/main.js names that mapHost gates beside the Illustrator rows of adobe:coding:
ThirdPartyUseStage true in its Debug Database, else require("premierepro") throws in the plug-in console and in no logUXP Developer Tools (UDT) runs the UXP developer service on 127.0.0.1:<port>, announced over Adobe's Vulcan bus as endpoint UTDS, and hosts dial it. Tool clients speak JSON over ws://127.0.0.1:<port>/socket/cli:
didCompleteConnection, then didAddRuntimeClient {id, app} per host, app holding appId (the manifest host.app value), appName, appVersion, uxpVersion, and supportedFeatures{"command": "proxy", "clientId": <id>, "requestId": <n>, "message": {"command": "Plugin", "action": "<action>"}} with the action's fields in message{"command": "reply", "requestId": <n>} with result fields or an errorload with "params": {"provider": {"type": "disk", "path": "<build>"}} and "breakOnStart": false answers pluginSessionId, as a host held in its start-up frame crashesdebug, reload, and unload take pluginSessionId, and debug answers wsdebugUrl as ws=127.0.0.1:<port>/socket/cdt/<session>hostAppLog {details: {level, message, appInfo}} per UXP log line of each host, didPluginUnloaded {plugin} when a host drops a plug-in, and didRemoveRuntimeClient when a host leavesService rules:
app_prefs.json at launch and writes it at quit, so a port edit made while UDT runs is lostDebugger.disable before closing their session socketunload refuses a session the running UDT did not load, so a load of that id clears oneTarget.setDiscoverTargets on /socket/browser_cdt/?adobe-uxp-app-id=<appId> announces each development load as a page target, installed plug-ins none--cdtDebugWsUrl=<wsdebugUrl> --details='{"plugin":{"name":"<id>"},"app":{"name":"<host>","version":"<version>"}}' opens Adobe's UXP DevTools on one session for a personSessions run in order:
session attach with uxp <build> and breakpoints in the .ts sources loads the plug-in, and the session's end unloads itbound on their TypeScript line, and a load failure prints as [stderr] Uncaught Error outputresume wait answers a stop on the TypeScript lineSession facts:
resumeevaluate runs at a stop alone, as UXP finds no execution context outside oneapp prototype getters, After Effects on an expanded selectedPropertiesDevtools: Removing existing plugin with id <id>hide or destroy never pausesDevelopment loads run new code with no relaunch, and installed plug-ins at the next host launch alone. Reloads run in order:
rg -c '<changed text>' <build>/main.js counts the changed sourcesession restart loads the new build under the same session id, its breakpoints keptUXP scripts take a debugger where supportedFeatures.debugScripts is true, and elsewhere execute_script of server atelier answers their failure line:
session attach with uxp <folder>/<script>.idjs or .psjs runs the script to its breakpoints, and its end reads state: detachedrunScript with "params": {"provider": {"type": "disk", "path": "<folder>"}, "fileName": "<script>", "userArgs": []}, its pluginSessionId taken by debugRuntime.runIfWaitingForDebugger, then report its context and pause at line 1Host logs, read before any theory of a silent plug-in:
fd -I -t f UXPLogs ~/Library/Logs/Adobe --changed-within 1h lists the UXP logs a recent run wrote, as folder names depart from app namesAIGeneral.log under Adobe Illustrator/<major.minor>/Adobe Illustrator/rg -n 'Error|<plugin id>' <log> reads lines of form [<time>][<thread>][<level>] [<scope>] <text>Trying to connect to uxp devtools cli service running at port <port> marks each dial of the service by the hosthostAppLog frames on /socket/cli carry each host's UXP log lines as the host writes themLogs/appLogs-<date>.log beside app_prefs.jsondiagnostics of server atelier {"application": "<name>", "since": <seconds>, "find": "<text>"} reads UXP logs, reports, samples, and unified logHost facts beside the crash method of tool:debugging:
sample <pid> 1 -file <scratch>/<host>.txt reads an Adobe host with no entitlementPluginRuntime::destroy, a DOM call in a release path adobe:coding names.ips soon after a crash, so cp it from ~/Library/Logs/DiagnosticReports/ to <scratch> before a relaunchEXC_BAD_ACCESS in __dynamic_cast under VulcanMessage5.dylib says nothing of the plug-inCrash Repair Options at the launch after a crash, answered by act of server atelier with key return (Continue)-1712 from a tool call -> a modal dialog or a stopped debugger holds the host: view of server atelier shows a modal, session list a stoppending after a load -> map sources fail from <build>: fix its map, never debug a copy elsewherebound and no stop after the trigger -> code not reached: read host logs, then move the breakpoint up its call pathdetached after a reload by another client -> session restartrequire("<host>") throwing in the plug-in console -> a host gate missingdidAddRuntimeClient for the manifest's host.app -> host closed, its gate off, or its UXP log dialing another port<port> at UDT's launch -> appLogs-<date>.log holds Port <port> is already in use, and UDT serves nothing until it quits and relaunches with the port freeload answered with an error -> host refused the manifest, named in its UXP logload unanswered within seconds -> a modal dialog, an earlier instance of the id held paused, or Illustrator's entry point refusalno supported entry points in plugin to AIGeneral.log and never answers the load<build>, relaunch its host, rerun the operation, and read no Error line of the plug-in in its UXP logReport fields beside the block of tool:debugging:
didAddRuntimeClient or the UXP logWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub bsamiee/rasm --plugin adobe2 skills in this plugin
Other plugins' skills for the same job