Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Krishna Python Bug Detection & FixingNew to Visual Studio Code? Get it now.
Krishna Python Bug Detection & Fixing

Krishna Python Bug Detection & Fixing

KRISHNA CHOUDHARY H

|
121 installs
| (0) | Free
Boost your Python development with an intelligent bug detection and debugging assistant! This VS Code extension leverages a fine-tuned AI model specifically trained on Python code, helping you identify and fix errors effortlessly.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Krishna Python Bug Detection & Fixing

Version VS Code

Boost your Python development with an intelligent bug detection and debugging assistant! This VS Code extension leverages a fine-tuned AI model specifically trained on Python code, helping you identify and fix errors effortlessly.

Features

  • AI-Powered Debugging: Get intelligent suggestions for fixing bugs in your Python code
  • Interactive Chat Interface: Ask questions about your code and receive detailed explanations
  • Local Model Integration: Uses Ollama to run a specialized CodeLlama model locally
  • Conversation History: Maintains context for more relevant assistance throughout your debugging session
  • Zero Config Setup: Simple one-click activation to start debugging

Requirements

  • VS Code 1.98.0 or higher
  • Ollama installed on your system
  • The extension uses a quantized CodeLlama model (hf.co/Krish-05/krishna-choudhary-codellama-gguf-quantized:Q4_K_M), which should be imported to your Ollama installation

Installation

  1. Install this extension from the VS Code Marketplace
  2. Install Ollama if you haven't already
  3. Pull the required model to your Ollama installation:
    ollama pull hf.co/Krish-05/krishna-choudhary-codellama-gguf-quantized:Q4_K_M
    

Getting Started

  1. Open a Python file in VS Code
  2. Press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (macOS) to open the command palette
  3. Type "AI-Powered Python Debugger" and select the command
  4. A webview panel will open with the chat interface
  5. Type your question or paste your problematic code to get debugging assistance

Usage

Basic Workflow

  1. Enter your Python code problem or question in the text area
  2. Click the "ASK" button to submit your query
  3. The AI will analyze your request and provide a helpful response
  4. Use the "Copy" button to copy the response to your clipboard
  5. Click "Reset Conversation" when you want to start a new debugging session

Tips for Effective Debugging

  • Be specific about the errors you're encountering
  • Provide code snippets that demonstrate the issue
  • Include any error messages or unexpected behavior
  • Ask follow-up questions for more detailed explanations

Extension Commands

  • krishna-bug-detection-fixing-ext.helloWorld: Launch the AI-Powered Python Debugger interface

Technical Details

This extension uses:

  • Ollama API for local model inference
  • A specially fine-tuned CodeLlama model optimized for Python debugging
  • WebView API for the interactive interface
  • Conversation history management to maintain context

Known Issues

  • The extension requires an active Ollama instance running in the background
  • Large code snippets may exceed the model's context window
  • The model requires sufficient system resources (RAM and GPU) for optimal performance

Release Notes

0.0.1

  • Initial release with basic debugging capabilities
  • Integration with Ollama for local model inference
  • Interactive chat interface for debugging assistance

License

MIT

Privacy

This extension processes all code and queries locally using Ollama and does not send your code to any external servers.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Support

If you encounter any issues or have questions, please submit an issue on the GitHub repository.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft