MCP cdp_source_resolve
Description
Resolves a path between its source-map representation and its local disk path.
Required parameters:
- path (string): The path to resolve.
Optional parameters:
- direction (string): "to-local" (default, resolves a source-map path to the local disk path) or
"to-source-map" (resolves a local disk path to its source-map path). - sessionId (string): Session id returned by cdp_session_create. Uses the active session when omitted.
See also
- HTTP cdpResolveSource (
GET /api/cdp/source/resolve) - rk cdp source resolve
Parameters
additionalProperties: false
| Name | Type | Required | Values |
|---|---|---|---|
| path | string | Yes | |
| direction | "to-local" | "to-source-map" | No | enum: "to-local", "to-source-map"; default: "to-local" |
| sessionId | string | No |
path
The path to resolve
direction
to-local (default, resolves a source-map path to the local disk path) or to-source-map (resolves a local disk path to its source-map path)
sessionId
Session id returned by cdp_session_create. Uses the active session when omitted.
Updated about 5 hours ago
Did this page help you?