Documentation / The IDE

Run and debug

Builds with Maven, Gradle, Ant, npm, Cargo, Python, Go, .NET, sbt or Bazel, application servers, debuggers, hot swap and JVM diagnostics.

On this page

Yuli builds, runs, tests and debugs with your project's own tools. Stopping a build, a log or a test terminates the entire process tree.

Build tools

ToolProjects
MavenJava with pom.xml
GradleJava and Kotlin with build.gradle
AntJava with build.xml
npm, yarn, pnpm or bunJavaScript and TypeScript (the manager comes from packageManager or the lockfile)
CargoRust
pip, Poetry, uv, Pipenv or HatchPython, with the project's virtual environment
GoProjects with go.mod
dotnet.sln, .csproj, .fsproj and .vbproj
sbtScala with build.sbt
BazelMODULE.bazel or WORKSPACE (with bazelisk if you have it)

Yuli also understands Eclipse projects without migrating them. Details for each adapter in Language servers and build.

Toolchains

Yuli detects the JDK, Maven and Gradle, offers to download any that are missing and shows their status. You configure them in Project → Build, run and debug…: environment variables, VM options, Spring profiles, SDK, Maven, Gradle and saving.

Maven / Gradle / Ant panel

In the bottom panel (Alt+7): a filter, profiles as chips, the lifecycle phases in a strip and the remaining tasks in cards grouped by category.

Run

ActionShortcut
Run the last configurationShift+F10
Debug the last configurationShift+F9
Stop the runCtrl+F2
Build projectCtrl+F9
Run all testsCtrl+Shift+F10
Run tests with coverageCtrl+Shift+F11

▶ in the margin

In the editor, a ▶ next to the code runs what is in front of you: each script of a package.json, classes with main, Maven and Gradle tests and tasks, Python's __main__ and tests, Go's func main and func TestX, and C# tests. The output appears in the Run panel.

Run configurations

Types: build, run, tests, clean, coverage, package, custom command and package.json script. They keep a history.

The console

In the Run panel, every project stack trace line, every JSP error and every Archivo.java:42 takes you to the file and line. Filter by level, by package or logger, or by My code (only what comes from the project).

Application servers

In Project → Project structure… → Servers:

ServerNotes
TomcatReloads the context when classes are updated.
Jetty—
JBoss / WildFly—
WebLogicDomain in development mode.
  • Exploded deployment: JSP, HTML, CSS, JS and .properties reach the server on save, without redeploying. Update copies the recompiled classes.
  • Each server runs with its own configuration inside the project, with its own ports.
  • Start in run or debug mode; the debugger attaches automatically.
  • Warns you if the app uses javax on a jakarta server, or the other way around.
  • The server APIs (Servlet, JSP) are added to the editor's classpath.

Debug

LanguageDebugger
Java and JVMNative JDWP client, with hot swap (Ctrl+Alt+F10)
Node.js and browserChrome DevTools Protocol (CDP), with source maps
Python, Go and .NETdebugpy, Delve and netcoredbg (DAP), installed only with your permission
Oracle PL/SQLOracle's DBMS_DEBUG

Conditional, hit-count, logpoint and exception breakpoints, an expression evaluator, readable values (an object shows as Owner{id=3, …}) and test debugging. Shift+F9 debugs the last configuration.

Everything else (configurations, attaching to processes, the Java evaluator, PL/SQL and shortcuts) is in Debugging.

JVM diagnostics

The JVM panel (under “More” in the bottom panel) attaches to any local Java process.

ToolWhat it does
Thread dumpGroups by state and highlights locks and deadlocks.
Memory histogramMemory per class. When you repeat it, shows what grew (leaks).
Heap dumpSaves an .hprof for Eclipse MAT or VisualVM.
Profile CPU and memoryWith Flight Recorder: the most expensive methods, call tree, allocations and GC. If the JVM doesn't support it, profiles by thread sampling.

Tabs: CPU, Memory, Allocations and Threads. The Project code only filter keeps just your code, and project frames take you to the exact line.

Tests and coverage

  • The test explorer runs tests and reports results in the Tests panel.
  • Coverage shows in the editor gutter: covered, not covered and partial.
  • With Gradle, coverage is generated without touching the build, even in multi-module projects.

With the agent

Ask “build, test and start it” and the agent uses yuli_verify: a full build, all tests and one start with the default profile. If the application fails to start because of an environment variable or a profile, the agent can look into it and ask you only for the secret values.