icecream
vimspector
Our great sponsors
icecream | vimspector | |
---|---|---|
41 | 99 | |
8,427 | 4,002 | |
- | - | |
5.6 | 8.0 | |
21 days ago | 19 days ago | |
Python | Vim Script | |
MIT License | Apache License 2.0 |
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.
icecream
-
Show HN: Dbg.h: C macro for quick and dirty print debugging
Hey, very useful. Thanks! Similar to ic() for python, but with the nice ability to be used inline.
- When you are looking at someone else's code base and you want to make a copy of it to put in a million print statements to understand it, what is good practice in terms of version control and naming the copy?
-
Pythoneers here, what are some of the best python tricks you guys use when progrmming with python
Icecream is great for this. Just calling ic(foo) gives you the same thing on stderr.
- What's you fav ice cream??
-
What Python debugger do you use?
I get around this by using loguru (a wrapper around python's logger), so I get information like the calling function and line number with my debugging statements. I don't use it these days (and actually built something extremely similar around the same time), but icecream is another alternative that facilitates debugging-by-print
- Top 3 hardest things with debugging as a beginner?
-
Does anyone use python debugger?
Most of the time I simply use icecream (a much better version of print()), and sometimes, I use pudb (a visual debugger) for tougher/trickier bugs.
-
Let's do a war
We also have ice cream
-
What is your favorite ,most underrated 3rd party python module that made your programming 10 times more easier and less code ? so we can also try that out :-) .as a beginner , mine is pyinputplus
I found icecream in a post on this subreddit and still use it as an alternative to print for debugging.
-
A script for print debugging python code
In the future using something like icecream might be interesting as well.
vimspector
- Shape Typing in Python
-
Certain Mapping only when another command was called earlier (lua)
I struggle a bit to put what i want into words but i still try my best.So i got some plugins likehttps://github.com/sindrets/diffview.nvimhttps://github.com/harrisoncramer/gitlab.nvimhttps://github.com/puremourning/vimspectorand so on (but those are the one which i need that "feature" the most).
-
Vimspector – the Vim debugger rules all
The actual title is "Vimspector - A multi-language debugging plugin for Vim".
It is a UI around DAP: https://github.com/puremourning/vimspector#what-vimspector-i...
-
How to configure vim like an IDE
vimspector
-
I like Tabasco.
I do think VSCode is a great tool and I recommend it frequently to people, but I still want to set the record straight here. Yes, vim is obviously limited in the sense that as a CLI app it doesn't draw it's own PDF or HTML windows, that's fair. But it can remote control your favorite PDF viewer or browser for roughly the same functionality. I'm currently writing my thesis using vimtex and it's quite smooth. And all the other stuff you mention is implemented quite competently by various plugins like vim-fugitive, coc.nvim, vimspector and copilot.vim.
-
Rust, RR, Neovim: A perfect debug combination
You could try vimspector. It's main target is vim and not neovim.
-
Vim or Emacs for C++ Coding?
I use vim for C++ coding, however it is a bit difficult to set up to make it productive. I use YouCompleteMe [0] for autocompletion, Vimspector [1] with the C++ plugin for debugging, ALE [2] for linting, along with a few other general plugins (such as NerdTREE for file view).
[0] https://github.com/ycm-core/YouCompleteMe
-
My office wants everyone to use vim as the only editor. Has this happened to anyone else?
For debugging normally I'd throw a breakpoint() and then have it launch pdb in a terminal from within nvim, but vimspector also exists if you'd rather.
-
Discussion: what functionality is Vim missing?
Isn't vimspector almost the same experience as in VS Code?
What are some alternatives?
pdb++
nvim-dap - Debug Adapter Protocol client implementation for Neovim
Loguru - Python logging made (stupidly) simple
nvim-gdb - Neovim thin wrapper for GDB, LLDB, PDB/PDB++ and BashDB
py-spy - Sampling profiler for Python programs
LunarVim - 🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.
Laboratory - Achieving confident refactoring through experimentation with Python 2.7 & 3.3+
vim-plug - :hibiscus: Minimalist Vim Plugin Manager
PySnooper - Never use print for debugging again
ipdb - Integration of IPython pdb
remote-pdb - Remote vanilla PDB (over TCP sockets).
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.