简体   繁体   English

在 Play 中启用断言! 发展模式

[英]Enable assertions in Play! development mode

I'm want to enable assertions for the Play.我想为 Play 启用断言。 JVM. JVM。 I saw there is some configuration in the application,conf.我看到应用程序中有一些配置,conf。 but I'd no success by guessing how this may work, So?但我猜测这可能是如何工作的,但我不会成功,所以? how do I do that?我怎么做?

If you mean support for the "assert" language feature, it seems to be as simple as:如果您的意思是支持“断言”语言功能,它似乎很简单:

play run -ea

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM