Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

debug mode for logging any commands in the sublime console

I used that command but forgot how to turn it on:

In sublime console, which is invoked by ctrl+` I typed something like ...

turn_on_debug_mode

... and sublime console started to log every command I run. For example, if I press right mouse button on the view and click Copy file path then in the sublime console I found logging of this action with the name of invoked command like copy_file_path.

So that was an easy way to grab names of commands that I could use in self-written sublime plugins.

The problem is that I do not remember how to turn that debug mode on.

like image 518
Maxim Yefremov Avatar asked Apr 21 '15 02:04

Maxim Yefremov


1 Answers

In the console input:

sublime.log_commands(True)

To view keystrokes:

sublime.log_input(True)
like image 80
AGS Avatar answered Sep 21 '22 16:09

AGS