本文共 199 字,大约阅读时间需要 1 分钟。
1.将hybris启动为debug模式
在命令行启动hybrisserver.bat debug命令
2.设置断点
3.配置idea的debug
选择 Remote debug
打开 edit configuration ,可以看到开启的端口是8000,监听hybris server。而hybris默认的端口是9200
调用接口,可以看到已经进入到了debug模式,常用的debug的按钮也出现了