Skip to content

Commit e07ec67

Browse files
Copilotsheremet-va
andcommitted
Add documentation for inline console.log feature
Co-authored-by: sheremet-va <[email protected]>
1 parent 5ade4e7 commit e07ec67

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
- **Run**, **debug**, and **watch** Vitest tests in Visual Studio Code.
1212
- **Coverage** support (requires VS Code >= 1.88)
1313
- An `@open` tag can be used when filtering tests, to only show the tests open in the editor.
14+
- **Inline console.log display**: Optionally show `console.log` output inline in the editor (enable via `vitest.showConsoleLogInline` setting)
1415

1516
## Requirements
1617

@@ -99,6 +100,7 @@ These options are resolved relative to the [workspace file](https://code.visuals
99100
- `vitest.logLevel`: How verbose should the logger be in the "Output" channel. Default: `info`
100101
- `vitest.applyDiagnostic`: Show a squiggly line where the error was thrown. This also enables the error count in the File Tab. Default: `true`
101102
- `vitest.experimentalStaticAstCollect`: uses AST parses to collect tests instead of running files and collecting them at runtime. Default: `true`
103+
- `vitest.showConsoleLogInline`: Show `console.log` output inline in the editor next to the line that produced it. This can be useful for debugging. Default: `false`
102104

103105
### Commands
104106

0 commit comments

Comments
 (0)