Run Python Debugger (pdb) in Sublime Text 3

If you don’t want to deal with additional packages, you can create a snippet to set the breakpoint for you. <snippet> <content><![CDATA[import pdb;pdb.set_trace()]]></content> <tabTrigger>pdb</tabTrigger> <scope>source.python</scope> <description>Insert a breakpoint</description> </snippet> The above snippet will trigger whenever you type pdb in your code. Instructions On a Mac Navigate to Tools -> Developer -> New Snippet Replace the … Read more

How to Run Python Code on SublimeREPL

As described here, create a new Build System file and save it as ..\Packages\User\SublimeREPL-python.sublime-build. The file should contain: { “target”: “run_existing_window_command”, “id”: “repl_python_run”, “file”: “config/Python/Main.sublime-menu” } Then go to your Python file tab and select Tools > Build System > SublimeREPL-python. Now, Ctrl + B should execute the current Python file, with the output in … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)