Skip to content

Instantly share code, notes, and snippets.

@sprytnyk
Created March 16, 2020 19:30
Show Gist options
  • Save sprytnyk/2a57dfd87e620866f3899688d3497fa8 to your computer and use it in GitHub Desktop.
Save sprytnyk/2a57dfd87e620866f3899688d3497fa8 to your computer and use it in GitHub Desktop.
The script creates a file in a home directory of a user to be used by pdb++ to eliminate a truncated output.
#!bin/bash
cat > ~/.pdbrc.py <<EOF
import pdb
class Config(pdb.DefaultConfig):
sticky_by_default = True
truncate_long_lines = False
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment