How to configure Debuggers in Neovim | FREE COURSE // EP 6

preview_player
Показать описание

In this episode of neovim for newbs, we are going over probably the hardest thing to configure in neovim -- debuggers. Debugging is still not supported in neovim by default, but with some configuration we can get things going using Debug Adapters and the Debug Adapter Protocol!

github links:

chapters:
0:00 - intro
0:53 - what is DAP
2:45 - how to give neovim DAP functionality
5:31 - sign up for a channel membership!
6:21 - the ui for our debugger
8:50 - debugging in GO
11:50 - success! we are debugging a go program
Рекомендации по теме
Комментарии
Автор

loving this series so much, they need to just write down everything you said and put it in their docs lol

ThatBidsh
Автор

Please keep going with this series and update us as with time goes on you change even just a little your config, because this is amazing and you are the best explainer i have ever come across

faustozampa
Автор

Random tip: since you have separate lua files for each plugin, you can just open `:Lazy` and Sync. You don't have to close and reopen vim. Lazy should auto reload all these files when it detects changes.
That also applies all changes to the plugin and keymaps.

TimvanCann
Автор

by the way, you’re using dependencies backwards
if a depends on b, c, and d, then when you load a, you also load b, c and d. if you invert it, so you have b, c, and d which each depend on a, when you load b, c, or d, only a will be loaded.

this applies in this video specifically to the debuggers. you put the go debugger in the dependencies for nvim-dap, so when you load nvim-dap the go debugger will be loaded, even if you’re trying to debug typescript for example

aarond
Автор

This is the best series for learning to setup neovim. Thanks you and congrats!

guilhermetsk
Автор

Aside from the content that's already very good, I also noticed a lot more work being put into the editing and visual effects throughout this series. I hope you continue down this path because it greatly improves the experience for the viewers

TehHayzen
Автор

Damn you are a savior. I have tried to config Dap-nvim for weeks but always end up with errors. Thank you for the great series of nvim setup tutorial!!!

minhthanghoang
Автор

I've been steadily hipping away at my nvim config for almost a year now and this series was so helpful as a comparison! I initially forked my config from LunarVim and have been customizing it. This series was perfect for that! Thank you for creating this!

dannierockz
Автор

im new to neovim, this series helped me a lot, thanks man, great work

gabriellira
Автор

I love this series, finally I am gaining a better understanding of what's inside all those premade nvim distros!

Two requests for the next episodes:
* database integration with dadbod and dadbod-ui
* git integration

__mader__
Автор

Way to go Christopher! Well, the whole Neovim series (6 videos) is life changing way of code. Thanks Nerd!!! 😉

LinuxEssentials
Автор

Thanks man, I was REALLY waiting for this video

williamokano
Автор

This whole series is really great! Thank you! I set up neovim in the past in multiple approaches based on yt tutorials. Never really felt understanding enough to go on on my own. You changed that, I am able to expand the config for my needs without breaking the config. Thank you

whereistheline
Автор

I can't get over how entertaining you are when explaining whats going on. I really appreciate the background information you provided as to why we ended up where we are with debuggers. You've got such a knack for instructional videos.

TheFranklawrence
Автор

Completed the entire series. Probably the best series on Neovim. Great stuff!

whatisuser
Автор

This is so far the best neovim series I've watched so far on nvim config. I would love to see a series on nvim plugin development. Lol 😂, super exited to finally dump my super old nvim config, thanks to you!

cd_x
Автор

I've followed the entire series and now I have perfectly working setup and more importantly I finally understand how to further customize it. Thanks a lot!!!

drum-computer
Автор

Great!! How about one episode for Git Integration?

puneethkumar-v
Автор

Fantastic, and you've made it way more simple than the docs made it seem every time I thought about doing this. Thanks a ton!

wheatiesbox
Автор

Thanks a lot for this series. It's by far the best I've seen yet about neovim configuration.

I've been a vim user for probably 15 years now, gradually learning more and more vimscript, even did a small plugin back in the day. I made the switch to neovim many years ago (still having a vimrc file that was both neovim and vim compatible, with different plugins loaded depending on the actual host), and made the switch to lua as main config script maybe a year or 2 ago, but didn't understand everything.

This series have helped me modularise my configuration, replace some plugins with more modern and simpler alternative, and improve the configuration for other parts, like LSP, while still keeping the settings that work for me. I still have leaving a wee bit of custom vimscript in there, but whatever works.

stroiman.development