Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

script debugging #11648

Closed
celesteking opened this issue Jun 13, 2015 · 6 comments
Closed

script debugging #11648

celesteking opened this issue Jun 13, 2015 · 6 comments
Labels
:Core/Infra/Scripting Scripting abstractions, Painless, and Mustache discuss

Comments

@celesteking
Copy link

Currently, it's impossible to debug scripts in ES. I see no user-end documentation on that.

Can we get tools created for those who use something more complex than "2+2" one-line scripts?

@clintongormley
Copy link

The groovy console is a great tool for debugging groovy scripts: http://www.groovy-lang.org/groovyconsole.html

Any suggestions for what you'd like to see?

@clintongormley clintongormley added discuss :Core/Infra/Scripting Scripting abstractions, Painless, and Mustache labels Jun 13, 2015
@celesteking
Copy link
Author

How do I load ES environment in groovy console? ctx and all that.

I'd like to have at least println() immlemented/documented or something that would aid with debugging a complex script.

@nik9000
Copy link
Member

nik9000 commented Jun 13, 2015

Inject a logger into the script context?
On Jun 13, 2015 8:28 AM, "celesteking" notifications@github.com wrote:

How do I load ES environment in groovy console? ctx and all that.

I'd like to have at least println() immlemented/documented or something
that would aid with debugging a complex script.


Reply to this email directly or view it on GitHub
#11648 (comment)
.

@askaliuk
Copy link

Interested in the topic as well

@tomas-aftalion
Copy link

Me too.

@clintongormley
Copy link

Closing in favour of #13084

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Core/Infra/Scripting Scripting abstractions, Painless, and Mustache discuss
Projects
None yet
Development

No branches or pull requests

5 participants