Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I want to know what purpose does console solve in sublime text 2. This is invoked by pressing Ctrl+Shift+`

Is this a kind of debugger, or It just helps you to install packages.

share|improve this question

1 Answer 1

up vote 7 down vote accepted

Sublime Text 2 has Python embedded, and the console let's you inspect the current editor state, and create python code directly in the console to manipulate that state. See the API reference to see what you can do.

Sublime Text 2 extensions are thus written in Python, and any logging they do ends up on that console as well. So indeed, you can see the console as a debugger as well, if there are any python exceptions they'd be printed to that console.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.