00:00 Welcome to our third video about VIM. In this video, we will talk about debugging, and you will see that this video will be pretty short. We’ve learned that debugging is an important feature for a text editor or an IDE because it’s just something that, as a developer, you’re going to have to do a lot. So, switching back to our code here,
00:28 If I run this code now—now that we learned how to run it before—I don’t get the output that I expected, so my numbers are not being squared. I don’t really have a way to figure out what’s going on in terms of debugging using VIM. VIM just does not have this functionality built-in.
There are ways to extend the functionality of VIM—you can install plugins, et cetera, et cetera. Or you can use tools that come with Python, so the way to do this in here would, for example, be
import pdb—the Python debugger—and then work forward from there.
01:08 But the takeaway for this section here—for VIM—is that as an editor, while it’s very quick and you’d have access to it on all Unix systems, there’s just some very important features that it doesn’t come with by default.
01:21 And one of those—an important one—is debugging. So in this section, I’ve mentioned a bit that there’s ways to extend the functionality of VIM with plugins, and in the next section, I will show you how to easily improve the appearance and working with VIM in a way that actually does not yet need any plugins, but that already comes built-in.
Become a Member to join the conversation.