All Projects → daveleroy → Sublime_debugger

daveleroy / Sublime_debugger

Licence: mit
Graphical Debugger for Sublime Text using the debug adapter protocol

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Sublime debugger

slyblime
Interactive Lisp IDE with REPL, Inspector, Debugger and more for Sublime Text 4.
Stars: ✭ 35 (-80.45%)
Mutual labels:  debugger, sublime-text
GoDebug
Go debugger (Delve) integration with Sublime Text 3
Stars: ✭ 20 (-88.83%)
Mutual labels:  debugger, sublime-text
Wormholy
iOS network debugging, like a wizard 🧙‍♂️
Stars: ✭ 2,010 (+1022.91%)
Mutual labels:  debugger
Twindbg
PEDA-like debugger UI for WinDbg
Stars: ✭ 171 (-4.47%)
Mutual labels:  debugger
Biosyntax
Syntax highlighting for computational biology
Stars: ✭ 164 (-8.38%)
Mutual labels:  sublime-text
Neon Color Scheme
A colorful bright-on-black color scheme for Sublime Text and TextMate. Its aim is to make as many languages as possible look as good as possible. Includes extended support for Python, Ruby, Clojure, JavaScript/JSON, C/C++, diff, HTML/XML, Markdown, PHP, CSS/SCSS/SASS, GitGutter, Find In Files, PackageDev, Regex, SublimeLinter, and much more.
Stars: ✭ 159 (-11.17%)
Mutual labels:  sublime-text
Lua Resty Repl
Interactive console (REPL) for Openresty and luajit code
Stars: ✭ 165 (-7.82%)
Mutual labels:  debugger
Smartdebug.js
Next-generation debugging for javascript!
Stars: ✭ 157 (-12.29%)
Mutual labels:  debugger
R Box
R package for Sublime Text 3
Stars: ✭ 177 (-1.12%)
Mutual labels:  sublime-text
Cerebral
Declarative state and side effects management for popular JavaScript frameworks
Stars: ✭ 1,946 (+987.15%)
Mutual labels:  debugger
Pudb
Full-screen console debugger for Python
Stars: ✭ 2,267 (+1166.48%)
Mutual labels:  debugger
React Native Network Logger
An HTTP network request monitor for React Native with in-app interface for iOS and Android with no native code
Stars: ✭ 161 (-10.06%)
Mutual labels:  debugger
Scyllahide
Advanced usermode anti-anti-debugger. Forked from https://bitbucket.org/NtQuery/scyllahide
Stars: ✭ 2,211 (+1135.2%)
Mutual labels:  debugger
Sendcode
Send code and text to macOS and Linux Terminals, iTerm, ConEmu, Cmder, Tmux, Terminus; R (RStudio), Julia, IPython.
Stars: ✭ 166 (-7.26%)
Mutual labels:  sublime-text
Uddbg
A gdb like debugger that provide a runtime env to unicorn emulator and additionals features!
Stars: ✭ 159 (-11.17%)
Mutual labels:  debugger
Vscode Chrome Debug
Debug your JavaScript code running in Google Chrome from VS Code.
Stars: ✭ 2,126 (+1087.71%)
Mutual labels:  debugger
Vimspector
vimspector - A multi-language debugging system for Vim
Stars: ✭ 2,711 (+1414.53%)
Mutual labels:  debugger
Sublime Jekyll
A Sublime Text package for Jekyll static sites.
Stars: ✭ 160 (-10.61%)
Mutual labels:  sublime-text
Angrgdb
Use angr inside GDB. Create an angr state from the current debugger state.
Stars: ✭ 165 (-7.82%)
Mutual labels:  debugger
Css3
The most complete CSS support for Sublime Text
Stars: ✭ 178 (-0.56%)
Mutual labels:  sublime-text

Sublime Debugger

Graphical Debugger for sublime text for debuggers that support the debug adapter protocol.

See Debug Adapter Protocol

Image of GUI

Installing

Using package control run Package Control: Install Package and select Debugger.

or clone into your sublime Packages directory (If you are on Sublime Text 3 use the st3 branch)

Getting Started

This project attempts to match Visual Studio Code's Debugger fairly closely so their documentation can be pretty helpful. See https://code.visualstudio.com/docs/editor/debugging

Debuggers

This project comes with some pre-configured debuggers (They can be installed using Debugger: Install adapter)

LLDB
Chrome
Firefox
Node
Python
Go
PHP

Setup

  • Open the debug panel

    • from the command palette Debugger: Open
  • Install a debug adapter by running: Debugger: Install adapter from the command palette.

  • Add a configuration Debugger: Add Configuration from the command palette (or add one manually, see below).

    • Configurations are added to debugger_configurations to your sublime-projec and use the same configuration format as Visual Studio Code
    • Consult the debugger specific documentation links above for creating a configuration for your debugger. Most debuggers come with some configuration snippets to choose from but I highly recommend looking at the documentation for the debugger.
  • Your configuration will look something like the following but with some debugger specific fields.

"debugger_configurations" : [
    {
        "name" : "Name of your configuration",
        "request" : "launch"|"attach",
        "type" : "debugger name",
         ...
    }
]
  • Start debugging
    • click the gear icon to select a configuration to use
    • click the play icon to start the debugger or run Debugger: Start (if no configuration is selected it will ask you to select or create one)

Tasks

Tasks are based on sublime build_systems with more integration so they can be used more seamlessly while debugging. When errors occur while running a task they are reported in the debugger ui (problem detection is the same as sublime, you must add file_regex to your task)

see https://www.sublimetext.com/docs/3/build_systems.html

Tasks are basically the same as sublime builds but there are a few additional paramters. name which will show up in the debugger ui and the be the name of the panel

"debugger_tasks" : [
    {
        "name" : "Name of your configuration",
        "request" : "launch"|"attach",
        "type" : "debugger name",
         ...
    }
]
  • Tasks can be run with Debugger: Run Tasks
  • You can run tasks before and after debugging by adding pre_debug_task or post_debug_task to your configuration specifiying the name of the task to run.

Settings

Settings can either be set at the project level or globally. Project settings can be changed by appending debug. to the setting name.

Within a .sublime_settings file

  • open_at_startup true Open the debugger automatically when a project that is set up for debugging has been opened
  • ui_scale 12 scales the entire debugger UI

Within a .sublime_project file settings object

  • debug.open_at_startup
  • debug.ui_scale

for a full list of settings see debugger.sublime-settings

Troubleshooting

  • Look in the debug console for errors (usually red)
  • Look in the sublime console for errors
  • Try the same configuration/adapter in Visual Studio Code (There is a good chance your issue is with the adapter so check out the outstanding issues for it)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].