The debug session for which the debug adapter will be used.
The debug adapter's executable information as specified in the package.json (or undefined if no such information exists).
a debug adapter descriptor or undefined.
友链:VS Code 中文文档 | VS Code 官网文档 | VS Code 扩展市场
'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: