startDebugging

@NotNull()
public @NotNull() InteractionResult startDebugging(@NotNull() @NotNull() UseOnContext context, int threadId)(source)

Called server-side by DebuggerItem#useOn to start a debug session for this block on the given thread. By default, this just calls startDebugging.


@NotNull()
public abstract @NotNull() InteractionResult startDebugging(@NotNull() @NotNull() ServerPlayer caster, int threadId)(source)

Called server-side by the default implementation of startDebugging to start a debug session for this block on the given thread.