Appendix B. Setting Up Your Development Tools
To write, debug, and maintain professional-quality Node applications, you need a strong development environment. This appendix walks you through configuring VS Code—the most popular IDE for JavaScript and Node—along with essential extensions that support formatting, linting, debugging, and version control. You’ll learn how to set up Git for tracking changes, manage project-level settings, and test APIs using tools like Postman to simulate requests and verify endpoint behavior. You’ll also see when to use breakpoints instead of console.log, and how to distinguish between style rules (handled by Prettier) and logic rules (handled by ESLint).
If you haven’t installed VS Code yet, you can get it from the official site or refer to the installation guide in Chapter 1.
Using Git from the Command Line
While VS Code includes a built-in Git interface, many professional developers rely on the Git CLI for speed, scripting, and control. Using Git from the terminal helps you understand what’s happening under the hood and enables you to work in any environment—even without a GUI.
To get started, install Git from https://git-scm.com. Once installed, verify it by running: To verify that Git is installed on your system, run the following command:
git--version
Outputs the currently installed version of Git (e.g.,
git version 2.42.0)
If the version ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access