A fun extension for Visual Studio Code that helps you debug your code by interacting with a rubber duck! The Debug Duck will offer quirky responses to guide you through the debugging process. It's inspired by the rubber duck debugging technique, where explaining your code out loud (or to a duck) can help you find issues.
Features
Interactive Debug Duck: Every time you click the "Ask the Duck" button, a rubber duck will offer debugging advice.
Customizable: Change the duck's image and background color to suit your preferences.
Sound Effects: The duck will quack every time you click to interact with it, adding a bit of fun to your debugging process.
Quirky Debugging Tips: Get random debugging tips from the duck to help you troubleshoot your code.
Installation
Open VS Code.
Go to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window.
Search for Debug Duck in the Marketplace.
Click Install to add the extension to your workspace.
How to Use
Once the extension is installed, the Debug Duck will appear automatically when you open VS Code.
You can interact with the duck by typing in the input box and clicking the "Ask the Duck" button.
The duck will respond with debugging tips and will play a duck quack sound every time you ask it a question.
Customize the duck’s image and background color by navigating to File > Preferences > Settings and searching for debugDuck.
Settings
debugDuck.duckImage: URL for the rubber duck image. Change it to any duck image you like!
debugDuck.duckColor: Background color of the duck’s environment. Set it using any valid hex color code (e.g., #FFD700).
Example
Input:
"Why is my function returning undefined?"
Duck Response:
"Quack! Check your function parameters."
Quack Sound plays with every interaction.
Contributing
Feel free to contribute to this project by reporting bugs or submitting pull requests. Your contributions are highly appreciated!
Contact
You can connect with me on LinkedIn for any inquiries or discussions.
License
This project is licensed under the MIT License - see the LICENSE file for details.