Sublime Forum

Sublime Python and Debugging - Windows 10

#1

Hi there,
I have installed XDebug as well as Python Debugger.
I have written a simple program: print(“OK”).
I was also able to do Ctrl + B and build.
However, all I get in the console is: [Finished in 0.1s] while I would like to see the output as well: “OK” .
Tools > XDebug has no Run command, nor has it Step In command nor any other command that would help me running my program.
How do I recover from this situation please?

0 Likes

#2

hello @pkirklewski,

On linux OS sublimetext should behave as desired without further plugins / configuration.
In order to recover from a plugin that is causing you problems, you can disable it:

  1. install package control for ST2 or ST3, depending on your version from here
  2. go to ST -> Package Control -> Disable Package
  3. select the Plugin in question (i.e., XDebug)

If you are working on Windows, I would recommend you to add python to your path. Sublimetext already comes with the python executables. You can use them or download python here. Then you can create a build system for sublime text.

0 Likes