resolveDebugConfiguration

Resolves a debug configuration by filling in missing values or by adding/changing/removing attributes. If more than one debug configuration provider is registered for the same type, the resolveDebugConfiguration calls are chained in arbitrary order and the initial debug configuration is piped through the chain. Returning the value 'undefined' prevents the debug session from starting. Returning the value 'null' prevents the debug session from starting and opens the underlying debug configuration instead.

Parameters

folder

The workspace folder from which the configuration originates from or undefined for a folderless setup.

debugConfiguration

The debug configuration to resolve.

token

A cancellation token.