r/computervision • u/Abject_Fisherman_127 • 25d ago
Showcase DebugSlicer: Presenting a VS Code extension for inspecting images and 3D volumes while debugging Python
Right-click a NumPy array, tensor or PIL image in the debugger and it opens in its own tab. 2D images show in colour (RGB/RGBA with a transparency checkerboard). Volumes get three linked slice views.
What I cared about most was seeing the real data: one element is one pixel, there's no interpolation unless you turn it on, and hovering shows the exact value. You can assign each dimension a role (rows, columns, depth, channels, or fixed index), so batches and odd layouts work too.
GitHub: https://github.com/CH4LLENG3R/debugslicer-python/tree/master
VS Code Marketplace: https://marketplace.visualstudio.com/items?itemName=CH4LLENG3R.debugslicer-python
What would you want it to do next?
