
Find the code. Set the breakpoints. Start debugging.
Turn existing VS Code Search results into breakpoints without opening every file.
Why Search & Debug?
When tracing a method across a large codebase, setting breakpoints one by one is repetitive. Search & Debug uses the results already in your native Search panel to place source line breakpoints in a single action. No new search interface, no source edits, and no network connection required at runtime.
Action | What it does |
|---|---|
All results | Place breakpoints on matching lines across the current search results. |
Selected file | Place breakpoints on every matching line in one file from the current search. |
Undo last batch | Remove plain, unchanged breakpoints created by the most recent batch in this session. |
Existing breakpoints are preserved, multiple matches on the same line are deduplicated, and the current search filters are respected. Large batches of 200 or more new breakpoints require confirmation.
See it in action
01. Add breakpoints to all search results
Run a normal workspace search and click the red breakpoint-plus icon in the Search toolbar. Each matching source line receives a breakpoint, unless one is already present.

02. Add breakpoints to a single file
Select a file heading (or a result inside that file), then click the red file breakpoint icon. If the selection cannot be identified, choose the file from the picker. Other files remain untouched.

Both illustrations are designed mocks with synthetic sample code. They are not screenshots of a running extension. Breakpoint markers appear in editor gutters, not as custom icons on native Search result rows. Toolbar placement can vary with the available width.
Quick start
Requirements: VS Code 1.95 or newer (declared minimum), and a local workspace containing saved text files. This is a pre-Marketplace preview.
Download the installable VSIX.
Open VS Code and press
Ctrl+Shift+X(macOS:Cmd+Shift+X).Open the Extensions panel's three-dot menu and choose Install from VSIX...
Select
search-and-debug-0.1.3.vsixand reload the window if prompted.Open a local folder, press
Ctrl+Shift+F(macOS:Cmd+Shift+F), and run a text search.Wait for results, then use one of the two red Search toolbar buttons. If the sidebar is narrow, check its overflow menu.
Alternatively, from a terminal in the download directory with the code command on PATH:
If you installed the older Search Breakpoints local preview, uninstall it first. Search & Debug has a new extension identifier, so the old and new versions otherwise coexist.
Keyboard shortcuts
Action | Windows / Linux | macOS |
|---|---|---|
Add all search breakpoints |
|
|
Add selected-file breakpoints |
|
|
Undo last batch |
|
|
For the file shortcut, focus a file heading or result in the Search panel. The commands are also available in the Command Palette under Search & Debug when applicable. Standard editor F9 behavior is unchanged. Shortcuts can be customized in VS Code.
Downloads
Download | Contents |
|---|---|
Ready-to-install v0.1.3 extension. | |
Source, documentation, artwork, tests and packaging script, without generated downloads. | |
Complete repository on GitHub. | |
Snapshot of the entire main branch, including packaged downloads. | |
Verify the VSIX and source package before using them. |
Development
The extension is written in plain JavaScript (CommonJS), with no npm runtime dependencies and no compilation step.
Use Node.js 18 or newer for the standalone tests. Open the repository in VS Code and press F5 to launch the Extension Development Host. Open a separate local sample workspace in that window to test the Search commands. Python 3 is only required if you want to rebuild the download packages:
The script creates the VSIX, curated source ZIP and checksums in downloads/. Alternatively, install the VS Code extension packaging CLI and use its standard packaging process for Marketplace distribution.




