Support .pdbrc files #1234
              
                Unanswered
              
          
                  
                    
                      infinitesteps
                    
                  
                
                  asked this question in
                Enhancements
              
            Replies: 2 comments
-
| 
         Moving this issue to discussion as an enhancement request for comments and upvotes.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| 
         I think this would have to be something custom.  But defining functions ahead of time seems doable. (We'd just eval the string for the function)  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to use my own debug commands in the VSCode Debug Console. PDB has the option to create aliases and store them in ~/.pdbrc for all debug sessions. Does debugpy have anything like this? If not, could it be added?
For a concrete example of something I am trying to do: I would like a function foo to be available in all my debug sessions that does the following:
I can define this function in the console itself but I would like to place it (and possibly many others) in a debugger configuration file somewhere.
Beta Was this translation helpful? Give feedback.
All reactions