vim-godebug


Ⅰ. 插件描述

Go debugging for Vim

Ⅱ. 基本信息

创建日期:  2017-02-06
使用用户:  44
Github星:  423
插件作者:  Luca Guidi

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'jodosha/vim-godebug'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'jodosha/vim-godebug'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'jodosha/vim-godebug'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/jodosha/vim-godebug

Ⅳ. 文档说明

# vim-godebug

Go debugging for Vim.

See it in action

vim-godebug

Prerequisites

Installation

Copy all files to your ~/.vim directory or use Tim Pope's excellent pathogen plugin (http://github.com/tpope/vim-pathogen).

Usage

:call GoToggleBreakpoint() to add or remove a breakpoint at the current line
:call GoDebug() to start a debug session for the main package

Development and Improvements

This is a tool that is useful for my workflow.
If you think it's useful, be my guest and use it too.

I won't actively support this plugin. If you find a bug, or want an improvement, please open a PR if you want to see it fixed.

Troubleshooting

Error detected while processing function godebug#debug

vim is not yet supported. Try it with neovim.

Copyright

2017 - Luca Guidi - https://lucaguidi.com

添加新评论