How to debug the plugin?
How to debug the python plugin? I.e. put a breakpoint and go inside ipdb or something like this?
I am able to run
```
terminator -dd
```
and then switch to debugging TAB, but no commands that I put inside the plugin's code output anything anywhere, no IPDB invocation helped
so I need to debug the following function
```
def get_filepath(self, strmatch):
filepath = None
line = column = '1'
print strmatch
config = self.config.
match = re.match(
groups = [group for group in match.groups() if group is not None]
group_names = config[
for group_value, group_name in zip(groups, group_names):
if group_name == 'file':
if not os.path.
elif group_name == 'line':
elif group_name == 'column':
return filepath, line, column
```
(this is editor_plugin) and adjust regexp solution.
So how to debug the plugin correctly?
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Terminator Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: