Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
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@v5.0.2/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>