Skip to content

About

Debug Karate tests

Resources

Contributing

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

Karate Debug

License GitHub stars VS Code Version IntelliJ Plugin

A debugging solution for Karate API tests supporting both VS Code and IntelliJ IDEA.

Project Structure

karate-debug/
├── shared/debug-server/     # Java DAP server (shared by both IDEs)
├── vscode/                  # VS Code extension (TypeScript)
├── intellij/                # IntelliJ plugin (Java/Kotlin Gradle)
├── test-fixtures/           # Sample Karate project for testing
└── .github/workflows/       # CI/CD workflows

Quick Start

Prerequisites

  • Node.js 20+
  • Java 21+
  • Maven 3.6+

Build Everything

# Build shared debug server
cd shared/debug-server && mvn clean package -q

# Copy JAR to both extensions
cp shared/debug-server/target/karate-debug-server-1.0.0.jar vscode/resources/
cp shared/debug-server/target/karate-debug-server-1.0.0.jar intellij/src/main/resources/

# Build VS Code extension
cd vscode && npm install && npm run compile && npm run package

# Build IntelliJ plugin
cd intellij && ./gradlew buildPlugin

Quick Rebuilds

# VS Code only
cd vscode && npm run compile

# IntelliJ only
cd intellij && ./gradlew buildPlugin

# Run IntelliJ sandbox
cd intellij && ./gradlew runIde

Releasing

Releases are triggered manually via GitHub Actions:

  1. Go to Actions > Release
  2. Click Run workflow
  3. Select platform: vscode, intellij, or both
  4. Optionally specify version (defaults to current)

Documentation

Document Location
VS Code README vscode/README.md
VS Code Changelog vscode/CHANGELOG.md
IntelliJ README intellij/README.md
IntelliJ Changelog intellij/CHANGELOG.md
Internal Dev Guide .augment-guidelines

Links

About

Debug Karate tests

Resources

Contributing

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages