Skip to main content
Module

x/dpp_vim/deps.ts>fn.debugbreak

Dark powered plugin manager for Vim/neovim
Latest
function fn.debugbreak
import { fn } from "https://deno.land/x/dpp_vim@v0.2.0/deps.ts";
const { debugbreak } = fn;

Specifically used to interrupt a program being debugged. It will cause process {pid} to get a SIGTRAP. Behavior for other processes is undefined. See terminal-debugger. only available on MS-Windows

Returns TRUE if successfully interrupted the program. Otherwise returns FALSE.

Can also be used as a method:

GetPid()->debugbreak()

Parameters

denops: Denops
pid: unknown

Returns

Promise<number>