How to debug Scala and playframework? and would like to know if there's method like var_dump and die like used in PHP.
If you are using an IDE you can run 'play debug', then connect with your IDE and put a breakpoint at the beginning of the controller and then inspect the content of the request. You can find more information in the Playframework documentation . If you don't use an IDE you can still use a standalone Java debugger, I've had luck with JSwat .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.