Skip to main content
Module

x/ddc_vim/deps.ts>fn.debugbreak

Dark deno-powered completion framework for neovim/Vim
Go to Latest
function fn.debugbreak
import { fn } from "https://deno.land/x/ddc_vim@v4.0.3/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>