Method AttachToProcessAsync
AttachToProcessAsync(int, CancellationToken)
Attaches debugger to the process.
public Task AttachToProcessAsync(int processId, CancellationToken cancellationToken = default)
Parameters
processId
intProcess ID to attach.
cancellationToken
CancellationTokenCancellation token
Returns
AttachToProcessAsync(int, StartDebuggingOptions, CancellationToken)
Attaches debugger to the process.
public Task AttachToProcessAsync(int processId, StartDebuggingOptions options, CancellationToken cancellationToken = default)
Parameters
processId
intProcess ID to attach.
options
StartDebuggingOptionsDebugging options.
cancellationToken
CancellationTokenCancellation token