Skip to content

createVsCodeDebugConfig

Creates an attach configuration matching the esbuild development source-map rewrite.

Import:

import { createVsCodeDebugConfig } from '@mnaoumov/obsidian-dev-toolkit/vscode-debug-config';

Signature:

function createVsCodeDebugConfig(params: CreateVsCodeDebugConfigParams): VsCodeDebugConfig

Parameters:

Parameter Type Description
params CreateVsCodeDebugConfigParams The package name and optional renderer port.

Returns: VsCodeDebugConfig — A serializable VS Code launch file.


Links to this page: