Jaa


DebuggingBotAdapterExtensions.UseDebugger Method

Definition

Enable Debug Adapter Protocol for the running adapter.

public static Microsoft.Bot.Builder.BotAdapter UseDebugger (this Microsoft.Bot.Builder.BotAdapter botAdapter, int port, Microsoft.Bot.Builder.Dialogs.Debugging.ISourceMap sourceMap = default, Action terminate = default, Microsoft.Extensions.Logging.ILogger logger = default);
static member UseDebugger : Microsoft.Bot.Builder.BotAdapter * int * Microsoft.Bot.Builder.Dialogs.Debugging.ISourceMap * Action * Microsoft.Extensions.Logging.ILogger -> Microsoft.Bot.Builder.BotAdapter
<Extension()>
Public Function UseDebugger (botAdapter As BotAdapter, port As Integer, Optional sourceMap As ISourceMap = Nothing, Optional terminate As Action = Nothing, Optional logger As ILogger = Nothing) As BotAdapter

Parameters

botAdapter
BotAdapter

The BotAdapter to enable.

port
Int32

port to listen on.

sourceMap
ISourceMap

ISourceMap to use (default will be SourceMap()).

terminate
Action

Termination function (Default is Environment.Exit().

logger
ILogger

ILogger to use (Default is NullLogger).

Returns

The BotAdapter.

Applies to