Skip to content

Instantly share code, notes, and snippets.

@vipmax
Created January 11, 2025 13:03
Show Gist options
  • Save vipmax/74568eec39882bb62958b1b04da08d7f to your computer and use it in GitHub Desktop.
Save vipmax/74568eec39882bb62958b1b04da08d7f to your computer and use it in GitHub Desktop.
vscode rust test allow output

Add following section to the vscode settings.json

"rust-analyzer.runnables.extraTestBinaryArgs": [
  "--nocapture",
]

This one will add --nocapture to the and of test command allowing println! works immediately

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment