termdbg : Terminal debugger for vim
script karma |
Rating 3/2,
Downloaded by 623 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
fanhe |
|
script type |
utility |
|
description |
# 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
```viml
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
```viml
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
https://github.com/epheien/termdbg |
|
install details |
|
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.220.248.77
|