debugpy VS ultisnips

Compare debugpy vs ultisnips and see what are their differences.

debugpy

An implementation of the Debug Adapter Protocol for Python (by microsoft)

ultisnips

UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips! (by SirVer)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
debugpy ultisnips
18 64
1,667 7,430
4.1% -
7.9 4.9
6 days ago about 2 months ago
Python Python
GNU General Public License v3.0 or later GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

debugpy

Posts with mentions or reviews of debugpy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-26.
  • How to debug Django inside a Docker container with VSCode
    6 projects | dev.to | 26 Jan 2024
    debugpy description from it's repository:
  • Show HN: Mutable.ai – Turn your codebase into a Wiki
    14 projects | news.ycombinator.com | 8 Jan 2024
    I'd love to see what it can do with https://github.com/microsoft/debugpy - and especially how it would handle vendored dependencies.
  • Need help setting working directory of my debugger for python in neovim
    4 projects | /r/neovim | 29 May 2023
    I read that nvim-dap-python uses debugpy which has all these configuration parameters of which one of them is `cwd` which represents the "absolute path to the working directory of the program being debugged".
  • nvim-dap closes my remote session each time I try to restart - how do I make it stop?
    1 project | /r/neovim | 25 Apr 2023
    Hey all, I'm not sure if this is normal or not but, when debugging with nvim-dap, nvim-dap-ui, and nvim-dap-python (which uses debugpy) over a remote session, dap runs exactly once and then closes the entire process. This even happens when I just call `require("dap").restart()`. It's pretty frustrating to deal with and is not something that I was used to when I used to debug with vimspector, which let me restart the debug remotely as many times as I wanted without killing the application that I was connected to. Is this happening for anyone else? How do I disable it? I didn't see anything in debugpy's configuration options. I'm rereading dap's vim :help but haven't found any mention of auto-close / terminate logic yet.
  • What has been people's experience with nvim-dap? Or integrating the debugging experience within Neovim itself?
    5 projects | /r/neovim | 23 Apr 2023
    -- Debug adapter plug-in. Debug anything in Neovim { "mfussenegger/nvim-dap", config = function() vim.keymap.set("n", "d", ":DapContinue") vim.keymap.set("n", "dl", ":DapStepInto") vim.keymap.set("n", "dj", ":DapStepOver") vim.keymap.set("n", "dh", ":DapStepOut") vim.keymap.set("n", "dz", ":ZoomWinTabToggle") vim.keymap.set( "n", "dgt", -- dg as in debu[g] [t]race ":lua require('dap').set_log_level('TRACE')" ) vim.keymap.set( "n", "dge", -- dg as in debu[g] [e]dit function() vim.cmd(":edit " .. vim.fn.stdpath('cache') .. "/dap.log") end ) vim.keymap.set("n", "", ":DapStepOut") vim.keymap.set("n", "", ":DapStepOver") vim.keymap.set("n", "", ":DapStepInto") vim.keymap.set( "n", "d-", function() require("dap").restart() end ) vim.keymap.set( "n", "d_", function() require("dap").terminate() require("dapui").close() end ) end, lazy = true, }, -- A default "GUI" front-end for nvim-dap { "rcarriga/nvim-dap-ui", config = function() require("dapui").setup() -- Note: Added this dd duplicate of because somehow the -- mapping keeps getting reset each time I restart nvim-dap. Annoying but whatever. -- vim.keymap.set( "n", "dd", function() require("dapui").open() -- Requires nvim-dap-ui vim.cmd[[DapContinue]] -- Important: This will lazy-load nvim-dap end ) end, dependencies = { "mfussenegger/nvim-dap", "mfussenegger/nvim-dap-python", -- Optional adapter for Python }, }, -- TODO: Make sure that debugpy is installed. Otherwise, disable -- Reference: https://github.com/mfussenegger/nvim-dap-python#installation -- { "mfussenegger/nvim-dap-python", config = function() require("dap-python").setup("/path/to/python/here") -- XXX: Replace this with your preferred Python, if wanted -- An example configuration to launch any Python file, via Houdini -- table.insert( -- require("dap").configurations.python, -- { -- type = "python", -- request = "launch", -- name = "Launch Via hython", -- program = "${file}", -- python = "/opt/hfs19.5.569/bin/hython" -- -- ... more options, see https://github.com/microsoft/debugpy/wiki/Debug-configuration-settings -- } -- ) end, dependencies = { "mfussenegger/nvim-dap", "nvim-treesitter/nvim-treesitter", }, }, -- Remember nvim-dap breakpoints between sessions, ``:PBToggleBreakpoint`` { "Weissle/persistent-breakpoints.nvim", config = function() require("persistent-breakpoints").setup{ load_breakpoints_event = { "BufReadPost" } } vim.keymap.set("n", "db", ":PBToggleBreakpoint") end, }
  • Unable to view complex numpy arrays in Dataviewer in VSCode
    2 projects | /r/vscode | 10 Feb 2023
    After testing I have the same situation. I reported this issue on GitHub, you can follow up.
  • How to setup neotest with neotest-python and dap?
    3 projects | /r/neovim | 15 Dec 2022
    vim.fn.sign_define('DapBreakpoint', {text='🛑', texthl='', linehl='', numhl=''}) dap.configurations.python = { { -- The first three options are required by nvim-dap type = 'python'; -- the type here established the link to the adapter definition: `dap.adapters.python` request = 'launch'; name = "Launch file"; -- Options below are for debugpy, see https://github.com/microsoft/debugpy/wiki/Debug-configuration-settings for supported options program = "${file}"; -- This configuration will launch the current file if used. pythonPath = function() -- debugpy supports launching an application with a different interpreter then the one used to launch debugpy itself. -- The code below looks for a `venv` or `.venv` folder in the current directly and uses the python within. -- You could adapt this - to for example use the `VIRTUAL_ENV` environment variable. return os.getenv("VIRTUAL_ENV") .. "/bin/python" or '/usr/bin/env python' end; }, }
  • How does mfussenegger / nvim-dap-python with nvim-dap runs the code in venv?
    1 project | /r/neovim | 30 Oct 2022
  • What Python debugger do you use?
    2 projects | /r/Python | 2 Sep 2022
  • Any functionality like VS Code debugger from command line (for Python)?
    2 projects | /r/learnpython | 31 Aug 2022
    You should take a look at DAP (Debug Adapter Protocol). There exist a Python module implementing this protocol (debugpy) and you can probably find some client applications that can hook into it (like this neovim plugin).

ultisnips

Posts with mentions or reviews of ultisnips. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-21.
  • LaTeX and Neovim for technical note-taking
    10 projects | news.ycombinator.com | 21 Feb 2024
    I always like people's LaTeX-based note taking setups. I'm a mathematician, so I write a lot of LaTeX too. (And I use vim, so I really like vim+Latex workflows).

    It's interesting that this post (or rather, the later post that discusses this) talks about the advantages of UltiSnips. The well-known vim-LaTeX posts written by Gilles Castel (RIP) relied pivotally on UltiSnips.

    It's not just that UltiSnips is a snippet engine. There are many of those (including LuaSnip, the other snippet engine mentioned in the OP series of articles). It's that UltiSnips can dispatch arbitrary expressions to short python code sections, and python has a great scientific library. For example, it's trivial to write a `sympy` snippet that will simplify or compute a given expression and write the output in latex for you.

    But UltiSnips works *terribly* with neovim [1] [2]. Why? Because UltiSnips uses python, and neovim's python interface is 100x slower than vim's python interface. There are design decisions for this and I'm not trying to say that neovim is bad. I use both vim and neovim. But I use vim+UltiSnips+vimtex for writing LaTeX.

    LuaSnip has interpolation too. I suppose it would be possible to write more code that calls from LuaSnip to a system like sympy (or other). But that's work. On the other hand, I think it takes a true power user to actually want or use the fancy interpolation functions.

    [1]: https://github.com/SirVer/ultisnips/issues/974

  • Looking for tutorials / Hello world projects to create Neovim plugins using Pynvim
    4 projects | /r/neovim | 10 Dec 2023
    I think in-the-wild examples like Ultisnips deoplete semshi (although they are advanced and somewhat complex) would also be good examples to learn how one can use python for writing plugins.
  • UltiSnips – Snippet Solution for Vim
    3 projects | news.ycombinator.com | 16 Aug 2023
  • lsp-zero v2.x is now available
    4 projects | /r/neovim | 23 Apr 2023
    I didn't know lsp-zero, but this integration seems just for me except for that I am using UltiSnips instead of luasnip. Just curious how difficult do you think it is to add UltiSnips integration along with cmp-nvim-ultisnips?
  • Minimalistic neovim/vim with batteries included ?
    4 projects | /r/neovim | 18 Apr 2023
  • How to solve this? (Ultisnippets plugin)
    1 project | /r/vim | 15 Mar 2023
  • Awkwardness when typing in '\n' or '\t' or (...) [...] etc. -- (Have others noticed this too?) -- (is there a better way?)
    4 projects | /r/vim | 17 Feb 2023
    If you use UltiSnips, you can just do this:
  • Vim + LaTeX
    4 projects | /r/vim | 11 Feb 2023
    Snipets or code completion can be done in a number of different ways, and how that is configured will depend on what method you use. In the blog he uses the vim plugin ultisnips. You'll find details on configuration for that in that link.
  • Python36.dll not found
    2 projects | /r/vim | 6 Jan 2023
    Heyo, I've been trying to get UltiSnips and YouCompleteMe to work, however, I've ran into a bit of a problem. The python36.dll library does not seem to exist for UltiSnips, and YouCompleteMe cannot locate python at all (screenshots at bottom).
  • SirVer/ultisnips: UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
    1 project | /r/devel | 1 Jan 2023

What are some alternatives?

When comparing debugpy and ultisnips you can also consider the following projects:

nvim-dap-python - An extension for nvim-dap, providing default configurations for python and methods to debug individual test methods or classes.

LuaSnip - Snippet Engine for Neovim written in Lua.

nvim-dap - Debug Adapter Protocol client implementation for Neovim

vim-vsnip - Snippet plugin for vim/nvim that supports LSP/VSCode's snippet format.

mason-nvim-dap.nvim

completion-nvim - A async completion framework aims to provide completion to neovim's built in LSP written in Lua

python-lsp-server - Fork of the python-language-server project, maintained by the Spyder IDE team and the community

coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.

nvim-config

friendly-snippets - Set of preconfigured snippets for different languages.

pdbpp - pdb++, a drop-in replacement for pdb (the Python debugger)

emmet-vim - emmet for vim: http://emmet.io/