[role="xpack"]
[[painlesslab]]
== Debug Painless scripts

beta::[]

The *Painless Lab* is an interactive code editor that lets you test and
debug {ref}/modules-scripting-painless.html[Painless scripts] in real-time.
You can use the Painless scripting
language to create <<runtime-fields, {kib} runtime fields>>,
process {ref}/docs-reindex.html[reindexed data], define complex
<<watcher-create-advanced-watch, Watcher conditions>>,
and work with data in other contexts.

Find *Painless Lab* by navigating to the *Developer tools* page using the
navigation menu or the <<kibana-navigation-search,global search field>>.

[role="screenshot"]
image::dev-tools/painlesslab/images/painless-lab.png[Painless Lab]
