Skip to content

Instantly share code, notes, and snippets.

@shanerk
Last active May 10, 2024 17:39
Show Gist options
  • Save shanerk/2905419cdfa091c051e2ba14d107fec6 to your computer and use it in GitHub Desktop.
Save shanerk/2905419cdfa091c051e2ba14d107fec6 to your computer and use it in GitHub Desktop.
Apex Debug Log Tail for VSCode
#!/bin/bash
# Execute this command in VSCode terminal. Your DEBUG logs will stream into the terminal from the org.
# Very useful to see DEBUG messages when running unit tests.
sf apex tail log --color | grep 'USER_DEBUG\|FATAL_ERROR'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment