simple neovim debugging setup (in 10 minutes)

  Рет қаралды 64,330

TJ DeVries

TJ DeVries

Күн бұрын

Пікірлер: 125
@christopher8641
@christopher8641 8 ай бұрын
Never needed a debugger as I never write bugs but thank you for this video father. Rust btw
@slap2685
@slap2685 8 ай бұрын
Of course, writing just one line of hello world code in python and causing a bug would be terrible.
@christopher8641
@christopher8641 8 ай бұрын
@@slap2685 Sorry I refuse to acknowledge / associate / speak the name of languages that use whitespace and indents as syntax. I cannot believe anyone likes py____ as much as they say. My guy.. its spaces, not control flow
@cybern9ne
@cybern9ne 4 ай бұрын
You don't write bugs because you don't write programs.😂
@justpatrick_
@justpatrick_ 4 ай бұрын
Easy Rust Chad W
@aragorn420
@aragorn420 14 күн бұрын
Chris
@TheLANBeforeTime-uo9ph
@TheLANBeforeTime-uo9ph 8 ай бұрын
really enjoy these nvim 10-15min clips. I don't have time to sit through live stream sessions, but these ones help improve vim skills bit by bit, really gold. Thanks TJ!
@adampaul7905
@adampaul7905 6 ай бұрын
me too I agree. There are very productive video.
@timkuntz8886
@timkuntz8886 7 ай бұрын
Thanks! I've been enjoying your content this past year. Keep up the great work!
@teej_dv
@teej_dv 3 ай бұрын
Wow! Thanks for the super chat :) sorry. I didn't see this earlier!
@boy4everjoy
@boy4everjoy 8 ай бұрын
we need a 3 hour in depth tutorial on debugging on neovim lol. thank you for your hard work!
@peteranderson7144
@peteranderson7144 8 ай бұрын
I'm loving these plugin videos. I'm definitely going to try and setup the SQL plugins after watching that video. Thanks for doing this, TJ.
@twenty-fifth420
@twenty-fifth420 8 ай бұрын
"hey, how do you debug your application?" "Oh, I just dap on it and it knows better when to step in and out of line."
@the_real_briel
@the_real_briel 8 ай бұрын
This was wild timing, I was literally just battling with setting this up today and then this was posted :0 Ty for the great guide!
@solvecode
@solvecode 7 ай бұрын
You're one of the people i regularly watch. Your content is solid, easy to follow and you feel genuin. Because of all the guides to nvim, I'm now a user; even professional and even more I've been inspired to create my first youtube myself. Thank you.
@frederickmichaud6783
@frederickmichaud6783 8 ай бұрын
I enjoyed watching the work on this happening live, but it’s also great to see the concise explanation like this after the fact. Thanks Teej!
@alexandersix_
@alexandersix_ 8 ай бұрын
Huge video, awesome series. Love this kind of content from you!
@nemethda
@nemethda 5 ай бұрын
I'm loving these type of content, you are a legend TJ thanks so much
@warrenhenning8064
@warrenhenning8064 8 ай бұрын
I think this video is an excellent litmus test for whether Neovim is for you or not. Do you want to set up how you want debugging to work or do you just want to press the debug button and have your code launch in a debugger for your language? The benefit of Neovim's approach is that you can do things like have it display sensitive data as `*****` as shown at 1:25, which is super awesome and handy if you need it.
@emersonbarros6815
@emersonbarros6815 7 ай бұрын
Lua, Neovim and Elixir, bro teej is taking the brazilian stack really serious.
@ejreillyxyz
@ejreillyxyz 8 ай бұрын
Love all the new neovim videos! It would be awesome to see you revisit the "how to make a neovim plugin in lua" one you did with bashbunni too. Every time I go to make a plugin I end up lost and confused in the API (make a buffer? then a window? and then do what?) but I have a smol brain so its basically to be expected. Cheers teej, I hope you do not stub your toe for many weeks.
@spacewad8745
@spacewad8745 Ай бұрын
debugging is the only thing that i don't use neovim for so i really appreciate this video and as some other commenter noted we'd really appreciate an exhaustive treatment of this topic. cheers!
@stopmotionhooray9264
@stopmotionhooray9264 28 күн бұрын
How do u debug c# app with a terminal input? I use Nvim dap with netcoredbg and the input/output ends up being in the REPL window and when you try to input, it won’t because it ends up expecting REPL commands. Setting the console=“externalTerminal” option doesn’t work either
@when-harry-met-sally
@when-harry-met-sally Ай бұрын
Just the video I needed. You are the man. Great videos.
@jatinderbraich9130
@jatinderbraich9130 8 ай бұрын
Being an elixir developer I can say this is a huge one! Thanks TJ
@riccardoshrives5881
@riccardoshrives5881 8 ай бұрын
dap on the haters
@sarojregmi200
@sarojregmi200 8 ай бұрын
I never thought of a debugger let alone a debugger in nvim. Now I will have it setup asap. Thanks 🙏👍
@WillLillis
@WillLillis 8 ай бұрын
Awesome stuff as always TJ, thank you!
@lucasefe
@lucasefe 8 ай бұрын
TJ explains perfectly. I love you, dude.
@coolguy69verycool
@coolguy69verycool 8 ай бұрын
I'll give this another go but I've struggled to set up a C debugger a few times. Every time, I get so frustrated and exhausted I just put it on the back burner and come back a few weeks later.
@maxz999
@maxz999 8 ай бұрын
I have found that the hardest part is getting the debugger working consistently. It’s way more work for me to keep my debugger working than it’s worth because logging almost always works for me. This probably depends on the language and WSL makes it even harder. Great video for the Neovim side of things though!
@latch909
@latch909 8 ай бұрын
Saw a pretty convoluted setup for node which I know has some additional adapter challenges but starting to think it doesn't have to be quite so hard
@cybern9ne
@cybern9ne 4 ай бұрын
how would you setup dap to use the visidata python library?
@beck4715
@beck4715 Ай бұрын
Debugger's been a sore spot since I switched to neovim 2 years ago. Hopefully this helps. I don't suppose a vue lsp video is in the works? That's the one other thing i've found next to impossible to figure out
@djunho
@djunho 8 ай бұрын
Nice one. I am delaying to setup of DAP forever. Now I don't have excuses anymore.
@yakomisar
@yakomisar 8 ай бұрын
TJ cool as ever. I have a couple of questions: 1. Do you know how to set/edit particular variable and put the value I want on the flight? and 2. Do you know how to start to debug particular test when I have bunch of them - and after start debugging it always starts from the very first test and goes one by one? The dummy decision is to comment unnecessary tests, but maybe there is a more elegant way?
@ItsBarmanji
@ItsBarmanji 4 ай бұрын
Hey! What keyboard layout you use btw?
@marsbrain
@marsbrain 7 ай бұрын
Is there a way to enable these key bindings only while that dap ui is being used? For example bind the step into, step out of, etc. to the arrow keys while debugging and then unmap once the debugger gets detached.
@themohmand
@themohmand 8 ай бұрын
This is great! I primarily work with embedded devices and use debuggers from vendors of MCUs that I am using. How would one configure nivm-DAP for something like let's say an ARM Cortex M4 MCU?
@MohdZakaria-b4g
@MohdZakaria-b4g 5 ай бұрын
Hi TJ, can we actually do cscope inside telescope?
@ThisGuyRocksLikeCrazy
@ThisGuyRocksLikeCrazy 8 ай бұрын
Do you have the debugger for Java? It's really tough to debug things in Java. I wish I could just do it only for a simple test case.
@sunnyheheheh9401
@sunnyheheheh9401 8 ай бұрын
Thanks for these kind of informative videos
@darklord2222
@darklord2222 8 ай бұрын
Dap virtual text was a new one for me coming from Lvim😍
@11WicToR11
@11WicToR11 8 ай бұрын
i personally know many people who struggle with specific debug setup with specific language. Would be very interesteed if you could go over most popular languages and how to set those up. Typescript and Rust would be definitelly top 2 but i would even like to see stuff like php
@carlosdelgadoramos9948
@carlosdelgadoramos9948 7 ай бұрын
hey TJ! what font do you use?
@DJRanoia
@DJRanoia 8 ай бұрын
Thank you for breaking this down, My virtual text seems to be showing up at the end of the line instead of the end of the variable. Where there any thing extra in the settings you enabled for this? I was able to figure it out.... Need nvim 0.10 :)
@AizazShahid-ck8cn
@AizazShahid-ck8cn 8 ай бұрын
Can you make one for Python? Maybe just a short?
@mikelemon5109
@mikelemon5109 7 ай бұрын
Why didn't you also setup and config one-small-step-for-vim ?
@windowsrefund
@windowsrefund 8 ай бұрын
Your colorscheme is too nice!
@gowthamvurimi1636
@gowthamvurimi1636 8 ай бұрын
The colours doesn't look out really. IMO vscode's default is by far the best one I've seen
@JakobKenda
@JakobKenda 4 ай бұрын
does ocaml have a dap?
@WashingtonUrsula-v6s
@WashingtonUrsula-v6s 3 ай бұрын
Stark Brooks
@CynthiaMartinez-z1n
@CynthiaMartinez-z1n 4 ай бұрын
Predovic Spurs
@swapstar
@swapstar 8 ай бұрын
After like 6 months of going and on and off from Neovim, I finally have a good and working Python Debugger setup, Working with python virtual environments is so annoying!
@СергейЛюбимов-у3ф
@СергейЛюбимов-у3ф 8 ай бұрын
Would you mind sharing your config?
@architbhonsle7356
@architbhonsle7356 8 ай бұрын
Neovim can put virtual text inside a line now? I believe it was only at the end before.
@willernst
@willernst 8 ай бұрын
0.10 adds inlay text.
@yuxiang4218
@yuxiang4218 8 ай бұрын
awesome series
@james.schubert
@james.schubert 8 ай бұрын
Just like TJ, all my code is exceptional.
@prashlovessamosa
@prashlovessamosa 8 ай бұрын
tj is there any way to see images in neovim in the terminal
@adriansrfr
@adriansrfr 6 ай бұрын
Yazi
@谢智斌-q9l
@谢智斌-q9l 8 ай бұрын
Debug should be rare, for simple case just print, for complex on I reach for jetbrains, the neovim ui that has indentical font size in debug panel is too distracted
@АлексейАгеев-я7ц
@АлексейАгеев-я7ц 8 ай бұрын
Nice, thanks for the useful vid
@ohdarlin692
@ohdarlin692 8 ай бұрын
You can't imagine how many hours I've suffered to make java debugger work. It is the worst time spent in my life. So miserable. But in other languages, especially low level which work with gdb or lldb everything was extremely easy.
@codesmith113
@codesmith113 5 ай бұрын
Can you please do a video on neovim with c++
@NeverTrust298
@NeverTrust298 8 ай бұрын
does this works for C?
@sumit_12393
@sumit_12393 8 ай бұрын
can you share your desk setup?
@HeikeDeming-y8p
@HeikeDeming-y8p 4 ай бұрын
Chadd Parkway
@anup8672
@anup8672 8 ай бұрын
Can somebody point resources to do this for python??
@MantasJurkuvenas
@MantasJurkuvenas 8 ай бұрын
Hey TJ did you know that GDB manual is only 960 pages...=)
@fbuys
@fbuys 8 ай бұрын
Thank you!
@lexrupy
@lexrupy 8 ай бұрын
It would be nice if you configure a Django Application on dap.
@justanpc7644
@justanpc7644 8 ай бұрын
Can someone share their dap config for rust
@kathrynlarkins8665
@kathrynlarkins8665 4 ай бұрын
Selina Expressway
@memillin
@memillin Ай бұрын
Did anybody here make it work for Javascript?
@GeorgeMann-v9x
@GeorgeMann-v9x 4 ай бұрын
Hane Shores
@joseoliveira8423
@joseoliveira8423 8 ай бұрын
F13?????
@willernst
@willernst 8 ай бұрын
There are Fn keycodes above F12. Looks like USB HID spec has through F24. Really useful with programmable keyboard layers as you can get more unique keys to use in software mappings.
@__napcakes__1911
@__napcakes__1911 8 ай бұрын
Do more of these please. How can I send you priv messages Teej? I sent one on X, maybe you don't check that inbox.
@cariyaputta
@cariyaputta 8 ай бұрын
I debug using prints but still, thanks for the vid.
@SandraDillon-d3c
@SandraDillon-d3c 4 ай бұрын
Garrison Track
@DavyCarnegie-j1c
@DavyCarnegie-j1c 4 ай бұрын
Doyle Track
@fxnvcn-x4l
@fxnvcn-x4l 4 ай бұрын
Roxanne Throughway
@RuthBaldwin-z6u
@RuthBaldwin-z6u 4 ай бұрын
Doyle Common
@DeborahThompson-r5d
@DeborahThompson-r5d 4 ай бұрын
Marjorie Fort
@ErnestCornelia-v5b
@ErnestCornelia-v5b 4 ай бұрын
Steuber Ramp
@conundrum2u
@conundrum2u 8 ай бұрын
now I can see that I configured my DAP incorrectly, lol
@peql1521
@peql1521 4 ай бұрын
Hi, I subbed after your most recent appearance on the primetime :), please can you spread your opinion more on youtube. I am confident that your voice should be heard by most people and you should expand to any and all topics, your opinion matters a lot in an ocean of bots and beginners trying to capitalise off their learning. also I guess I started learning neovim now, thanks? maybe?
@DavidAdams-u5v
@DavidAdams-u5v 4 ай бұрын
Whitney River
@KennanMichelle-u7j
@KennanMichelle-u7j 4 ай бұрын
Yvette Curve
@AdelaideHobart-b9g
@AdelaideHobart-b9g 4 ай бұрын
Corkery Springs
@GoldYvonne-r9o
@GoldYvonne-r9o 4 ай бұрын
Ledner Highway
@KennedyGavin-o9t
@KennedyGavin-o9t 4 ай бұрын
Leannon Stravenue
@DeanJackson-b7t
@DeanJackson-b7t 4 ай бұрын
Bruen Glens
@HarrimanNewman-t3b
@HarrimanNewman-t3b 4 ай бұрын
Maggio Light
@JuliusHunter-p7j
@JuliusHunter-p7j 4 ай бұрын
Schultz Crest
@GregoryBoyd-s1n
@GregoryBoyd-s1n 4 ай бұрын
Liliane Estate
@EdenRita-d8z
@EdenRita-d8z 4 ай бұрын
Flatley Estate
@LoretaSiver-q8e
@LoretaSiver-q8e 4 ай бұрын
Bahringer Row
@HerminiaAntonetti-b5s
@HerminiaAntonetti-b5s 4 ай бұрын
Tito Green
@LilyNina-d9z
@LilyNina-d9z 4 ай бұрын
Grant Lock
@DarleneQuintero-i7q
@DarleneQuintero-i7q 4 ай бұрын
Jacobi Plaza
@RutherfordCamp-p9b
@RutherfordCamp-p9b 4 ай бұрын
Heidenreich Lock
@TravisLinn-g1u
@TravisLinn-g1u 4 ай бұрын
Shana Wall
@ColcloughBart-f5b
@ColcloughBart-f5b 4 ай бұрын
Rosalee Wall
@MacAdamDylan-j9v
@MacAdamDylan-j9v 4 ай бұрын
Odessa Street
@TerryEbert-z3z
@TerryEbert-z3z 4 ай бұрын
Jasen Lodge
@JoeHuntley-n1g
@JoeHuntley-n1g 4 ай бұрын
Lowe Unions
@WilliamJohnson-v2n
@WilliamJohnson-v2n 4 ай бұрын
Makayla Drives
@PulitzerPearl-g3d
@PulitzerPearl-g3d 4 ай бұрын
Isom Road
@akshettrj
@akshettrj 8 ай бұрын
Dapgo
@FrancisAugus-k1m
@FrancisAugus-k1m 4 ай бұрын
Fatima Mission
My neovim autocomplete setup: explained
11:32
TJ DeVries
Рет қаралды 41 М.
Effective Neovim: Instant IDE
16:16
TJ DeVries
Рет қаралды 841 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
DEBUG in Neovim. Like a BOSS.
9:44
DevOps Toolbox
Рет қаралды 61 М.
tree-sitter explained
15:00
TJ DeVries
Рет қаралды 100 М.
I replaced my nvim-cmp with blink.cmp
7:08
PwnWriter
Рет қаралды 11 М.
You Should Use A Neovim Distro If You Are New
10:42
ThePrimeTime
Рет қаралды 184 М.
Floating toggle-able terminal in Neovim in 50 lines of Lua
11:09
I Rewrote My Entire Neovim Config...
11:09
TJ DeVries
Рет қаралды 53 М.
Debugging An Undebuggable App
18:25
Bryce Bostwick
Рет қаралды 120 М.
DONT use Neovim!! (in these scenarios)
8:56
typecraft
Рет қаралды 54 М.
The Ultimate Database Control. Right WITHIN NEOVIM
9:35
DevOps Toolbox
Рет қаралды 64 М.
Debugging In Neovim (ft BashBunni)
1:02:16
TJ DeVries
Рет қаралды 110 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН