Features

Automated Debugging

Learn how Kodezi Code automatically detects, analyzes, and fixes errors in your project.

Kodezi Code provides real time automated debugging, helping you catch issues instantly as you write code. Powered by Chronos-1, the system identifies logic problems, type issues, missing references, bad patterns, and formatting inconsistencies, then suggests or applies fixes automatically.

How Automated Debugging Works

Automated debugging runs continuously in the background:

  • Real time detection: Kodezi scans your code as you type and flags issues immediately.
  • Intelligent analysis: Each issue is evaluated based on logic, syntax, structure, and performance.
  • Auto fix suggestions: You can choose between applying the fix automatically or reviewing it first.
  • Pre push validation: Kodezi checks your entire project before each Git push to prevent broken code from shipping.

Types of Errors Automatically Detected

1. Case Sensitivity Issues

JavaScript is case sensitive, so mismatched names are instantly flagged.

Example:

// Before
this.Name

// After
this.name

2. Missing Context (this binding, missing variables, etc.)

Kodezi identifies undefined variables, missing context, or incorrect scope.

Example:

// Before
age

// After
this.age

3. Type Inconsistencies

Automatically fixes incorrect return types or mismatched function signatures.

Example:

// Before
return "no"

// After
return false

4. Naming Errors

Improves class, function, and variable naming consistency.

Example:

// Before
new user("Ashar", 23)

// After
new User("Ashar", 23)

Debugging Modes

Kodezi Code offers multiple debugging modes that let you control how issues are detected, explained, and fixed inside the IDE. Each mode is designed to support a different style of development, whether you prefer automation, review based workflows, or educational explanations.

1. Automatic Mode

In Automatic Mode, Kodezi monitors your code in real time and fixes minor issues the moment they appear.

2. Review Mode

Review Mode gives you full control over how changes are made. This mode is ideal for developers who want to stay closely involved in every change made to their code

3. Explain Mode

Explain Mode helps you understand why something is wrong.

Example explanation:

“JavaScript is case sensitive. ‘Name’ does not match the defined property ‘name’, causing undefined behavior.”

4. Pre Push Check

Pre Push Check ensures your project is clean and error free before pushing code to Git.

Before every Git push:

  • All files are scanned
  • Issues are grouped by severity
  • Recommended fixes are generated