'createDebugAdapterDescriptor' is called at the start of a debug session to provide details about the debug adapter to use.
These details must be returned as objects of type DebugAdapterDescriptor.
Currently two types of debug adapters are supported:
a debug adapter executable is specified as a command path and arguments (see DebugAdapterExecutable),
a debug adapter server reachable via a communication port (see DebugAdapterServer).
If the method is not implemented the default behavior is this:
createDebugAdapter(session: DebugSession, executable: DebugAdapterExecutable) {
if (typeof session.configuration.debugServer === 'number') {
'createDebugAdapterDescriptor' is called at the start of a debug session to provide details about the debug adapter to use. These details must be returned as objects of type DebugAdapterDescriptor. Currently two types of debug adapters are supported: