sponsor Vim development Vim logo Vim Book Ad

termdbg : Terminal debugger for vim

 script karma  Rating -1/1, Downloaded by 266  Comments, bugs, improvements  Vim wiki

created by
script type
# termdbg
Termdbg is a terminal debugger plugin for vim 8.1 and later.

Currently, termdbg support pdb and ipdb, if you need gdb support, try termdebug (`:h termdebug`)

Currently, termdbg just only do these things:
- locate cursor to current runing line when debugger
- simply toggle breakpoints in buffer

## Install
> Need vim 8.1 and later and compiled with +terminal feature.

For vim-plug

Plug 'epheien/termdbg'

For manual installation

- Extract the files and put them in your .vim directory
  (usually `~/.vim`).

## Usage
Run `TermdbgPdb {pyfile}`

## Commands
- `:TNext` Step over
- `:TStep` Step in
- `:TFinish` Return from current function
- `:TContinue` Continue
- `:TLocateCursor` Locate cursor to running line
- `:TToggleBreak` Toggle breakpoint in current line

## Options
call s:InitVariable('g:termdbg_pdb_prog',   'pdb')
call s:InitVariable('g:termdbg_pdb3_prog',  'pdb3')
call s:InitVariable('g:termdbg_ipdb_prog',  'ipdb')
call s:InitVariable('g:termdbg_ipdb3_prog', 'ipdb3')

## Repo
install details

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
termdbg-master.zip 0.1 2019-02-11 8.0 fanhe Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
OSDN.net Logo