Use our interactive code editor to test and debug Painless scripts in real-time.
This content applies to:
This functionality is in beta and is subject to change. The design and code is less mature than official generally available features and is being provided as-is with no warranties. Beta features are not subject to the support service level agreement of official generally available features.
The Painless Lab is an interactive code editor that lets you test and debug Painless scripts in real-time.
You can use Painless to safely write inline and stored scripts anywhere scripts are supported.
To get started, open the main menu, click Developer Tools, and then click Painless Lab.