我们使用gradle
项目时经常异常日志打印不全,只打印部分,并提示我们可以使用--stacktrace
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
那这个--stacktrace
在哪加呢?
我们按alt+shift+f9
再按一下0
或者直接点击右上方的编辑配置
然后在此处加上--stracktrace
然后再次运行就可以显示完整异常日志了
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有