Issue #156  (Breakpoints in VS Code)04/16/25

Advertisement
Refind: Brain Food, Delivered Daily
Every day Refind analyzes thousands of articles and sends you only the best, tailored to your interests. Refind curates articles from top publications and thought leaders, recommending only the best.
 
Brad's Deals
After you select your topics of interest, Refind can become a fundamental part of your daily news reading habit, allowing you to easily follow subjects that matter most to you and your work.
 

Breakpoints are a ubiquitous feature in many apps and coding environments for debugging code, and of course VS Code includes a breakpoints feature.

The breakpoints feature in VS Code has had some updates, so I'll just briefly summarize the different types of breakpoints you can use.

The simplest way to add a regular breakpoint is to hover over the line number in your code where you want the breakpoint, then click the little red circle icon that appears.
 
Adding a breakpoint in VS Code

You can also do the same thing by hitting F9 on your keyboard with your cursor on the line where you want the breakpoint.

Besides the regular breakpoint feature, VS Code allows you to add a conditional breakpoint. You can do this by right-clicking in the code editor margin (next to the line numbers) and selecting the "Conditional breakpoint..." option.
 
Adding a conditional breakpoint in VS Code

This allows you to define a condition that must be met to trigger the breakpoint. From the dropdown menu you can choose either Expression or Hit Count for a conditional breakpoint.

Finally, the third type of breakpoint is called a triggered breakpoint. This is a type of conditional breakpoint that's enabled when another breakpoint is hit. This feature was added early last year and is sometimes referred to as a nested breakpoint. This is also added by right-clicking the margin and choosing "Add Triggered Breakpoint..."
 
Adding a Triggered Breakpoint in VS Code

As shown in the screenshot above, with this type of breakpoint, you'll notice the option "Wait for Breakpoint" is now selected by default. This allows you to select an already existing breakpoint using the dropdown to the right.

For a more detailed discussion of breakpoints, be sure to check out that section of the VS Code docs.

Now on to this week's hand-picked links!
 

VS Code Tools

Prompt Tower — A VS Code extension compatible with Cursor, Windsurf, and Google IDX, that lets you build prompts with lots of code blocks in them, save templates, and dynamically manage context.

Swift for VS Code — Official VS Code extension to add language support for Swift, providing a seamless experience for developing Swift applications on all supported platforms.

Seven Point Sunday — Get 7 ideas every Sunday to build your career. Life hacks, passive income, AI prompts, book/music picks. From Kabir Sehgal, 16x Grammy winner and NYT bestselling author.   Sponsor 

Env Shield — A VS Code extension that automatically blurs secret values in .env files and other configurable files to prevent accidental exposure of sensitive information. See articles section below for a tutorial.

VS Code Theme of the Week

Cosy Orange — Here's a theme that's likely quite different from you're accustomed to, described as offering a "warm, low-saturation, low-contrast orange dark" palette.

Cosy Orange Theme for VS Code

The author acknowledges that it's not a theme for everyone and he designed it specifically for use with GDScript. It includes a slightly lighter version if you prefer (the dark one is shown above but they're quite similar).
 

VS Code Articles & Videos

VS Code Live: Agent Mode Day — This is a Microsoft Reactor event that's taking place today, just as this newsletter is going out. It will feature updates from members of the VS Code and GitHub teams with live demos on agent mode, MCP servers, Bring Your Own Key, and a concluding coding session by Wes Bos.

Agent Mode: Available To All Users and Supports MCP — More on Agent Mode, this post on the VS Code blog shares the news that it's now widely available.

Brain Food, Delivered Daily — Every day Refind analyzes thousands of articles and sends you only the best, tailored to your interests. Loved by 527,190 curious minds.   Sponsor 

Env Shield: Your Secret Guardian in VS Code — Explanation of one of the extensions mentioned in the tools section above, useful for hiding sensitive information in pair programming sessions, live collabs, etc.

Best of the Rest

Semantic Math — A set of software components and technologies to power e-learning in mathematics, including a math editor and processor.

Trying out Zed After More Than a Decade of Vim/Neovim — A developer who's used Vim and Neovim for 15 years is trying Zed for the first time and this post explains why.

The AI Report — A daily newsletter that provides AI solutions you can use to work smarter and achieve results, trusted by AI experts at Apple, Microsoft, Nasa, Anthropic, and OpenAI.   Sponsor 

CodeNext — An AI assistant for Xcode that offers context-aware code autocompletion and agentic chat, compatible with leading LLMs.

Suggestions?

If you have any link suggestions, including a tool, article, or other resource related to VS Code or another IDE, you can hit reply, send it via DM on X, or via chat on Bluesky.

That's it for this issue.

Happy VS Coding!
Louis
VSCode.Email
@LouisLazaris
Copyright © VSCode.Email. All rights reserved.

Not affiliated with Microsoft, Visual Studio Code, or any of its trademarks.