Skip to main content
Module

x/denops_std/function/mod.ts>debugbreak

📚 Standard module for denops.vim
Go to Latest
function debugbreak
import { debugbreak } from "https://deno.land/x/denops_std@v6.4.0/function/mod.ts";

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>