• Stars
    star
    449
  • Rank 97,328 (Top 2 %)
  • Language
    Vim Script
  • License
    MIT License
  • Created almost 8 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Go debugging for Vim

vim-GoDebug

Go debugging for Vim.

See it in action

vim-godebug

Prerequisites

* Go
* [Neovim](https://neovim.io/)
* [vim-go](https://github.com/fatih/vim-go)
* [Delve](https://github.com/derekparker/delve)
* On macOS, it is advised to install through [brew](https://github.com/derekparker/delve/blob/master/Documentation/installation/osx/install.md#via-homebrew), due to problems with certificates.

Installation

Godebug follows the standard runtime path structure. There are some helper lines for your vim/nvim for popular plugin managers.

  • Vim 8 packages
    • git clone https://github.com/jodosha/vim-godebug.git ~/.vim/pack/plugins/start/vim-go
  • Neovim packages
    • git clone https://github.com/jodosha/vim-godebug.git ~/.local/share/nvim/site/pack/plugins/start/vim-go
  • Pathogen
    • git clone https://github.com/jodosha/vim-godebug.git ~/.vim/bundle/vim-go
  • vim-plug
    • Plug 'jodosha/vim-godebug'
  • Vundle
    • Plugin 'jodosha/vim-godebug'

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

More Repositories

1

mruby-rack-json-api

Really Fast JSON API app with Mruby, Rack, Redis and H2O
Shell
113
star
2

minegems

Private gem hosting deployable on Heroku
Ruby
72
star
3

hanoi

Automated jQuery tests with QUnit
Ruby
56
star
4

hanami-api-amazon-aws-lambda

Hanami::API on Amazon AWS Lambda
Ruby
37
star
5

soundeck

Testing application for Hanami 2.0
Ruby
32
star
6

reeder

Web based feed reader for a Lotus workshop
Ruby
26
star
7

cached-models

CachedModels provides to your ActiveRecord objects a transparent approach to use ActiveSupport caching mechanism.
Ruby
25
star
8

vim-greenbar

Visual feedback for red/green/refactor TDD cycle
Vim Script
25
star
9

dotfiles

Ruby
24
star
10

more_paginate

Twitter like pagination for Rails
Ruby
23
star
11

memoria

Web application statistics for Redis
Ruby
21
star
12

node-upload-progress

Node.js demo for asynchronous file upload with progress report
JavaScript
21
star
13

rails-i18n-js

Ruby on Rails i18n for JavaScript
Ruby
18
star
14

panther

Experimental HTTP/2 Server for Rack
Ruby
15
star
15

hanami-fabrication

Fabrication support for Hanami
Ruby
15
star
16

plugin_migrations

Rake tasks for running plugin migrations.
Ruby
14
star
17

assets_packager

Rake tasks for merge and compress your stylesheets and javascripts
Ruby
13
star
18

sashimi

Sashimi is a Rails plugins manager
Ruby
11
star
19

instants

Lotus app to experiment with HTTP/2
Ruby
10
star
20

vim-devnotes

Quick development notes for Vim
Vim Script
9
star
21

collaborators

Hanami workshop
Ruby
8
star
22

codeowners

Simple CLI to interact with GitHub CODEOWNERS
Ruby
7
star
23

timenow

Dependency injection with Go
Go
7
star
24

acts-as-resource

ActsAsResource combines ActiveRecord and ActiveResource features in *one* class.
Ruby
7
star
25

website

Luca Guidi's website
HTML
6
star
26

hanami_utils_escape

Experimental porting of Hanami::Utils::Escape built with Rust/Helix
Ruby
6
star
27

hanami-go

Go
5
star
28

hanami-webpack

Manage Hanami assets with Webpack
Ruby
5
star
29

lotus-api-example

JSON API application example built with Lotus
Ruby
5
star
30

orders

Demo app for `hanami` `~> 1.3`, `hanami-validations` `2.0.0.alpha1` (`dry-validation` `~> 1.0`), and `rom` `~> 5.0`
Ruby
4
star
31

store

Hanami 2.0.0.alpha2 playground
Ruby
4
star
32

nested_models

NestedModels deal with massive handling of associated (nested) ActiveRecord models.
Ruby
4
star
33

ruby-web-bench

Ruby
3
star
34

hanami-api-example

Hanami::API app example
Ruby
3
star
35

cabin

Hanami 2 application example without slices
Ruby
3
star
36

curex

CURrency EXchange command line utility
Ruby
3
star
37

gemologist

A specialist in gems.
Ruby
3
star
38

lotus-steps

Ruby
2
star
39

hall_of_fame

HTTP 103 (Early Hints) with Hanami
Ruby
2
star
40

dnsimple-rs

Unofficial Rust client for DNSimple API v2
Rust
2
star
41

neovim-ide

NeoVim as IDE
Lua
2
star
42

go-imagesize

Little Go library to read image size
Go
2
star
43

more_paginate_example

Demo application for more_paginate
Ruby
2
star
44

rack-test

Test for Rack
Ruby
2
star
45

activerecord-pessimistic-locking

Reproduce ActiveRecord pessimistic locking in a multi-threaded environment
Ruby
2
star
46

jodosha

1
star
47

hanami-scaffold

This is an experiment for @wintermeyer, Hanami will NOT implement scaffolding
Ruby
1
star
48

cash

Ruby Cache
1
star
49

brokenurl

Go
1
star
50

housetrack

Ruby
1
star
51

rubysocialclubrome

Site for Ruby Social Club Rome
CSS
1
star
52

mine

Ruby
1
star
53

rubysocialclub

Ruby Social Club website
CSS
1
star