How do I enable logging for Spring Security?

Assuming you’re using Spring Boot, another option is to put the following in your application.properties: logging.level.org.springframework.security=DEBUG This is the same for most other Spring modules as well. If you’re not using Spring Boot, try setting the property in your logging configuration, e.g. logback. Here is the application.yml version as well: logging: level: org: springframework: security: … Read more

How do I debug an MPI program?

I have found gdb quite useful. I use it as mpirun -np <NP> xterm -e gdb ./program This the launches xterm windows in which I can do run <arg1> <arg2> … <argN> usually works fine You can also package these commands together using: mpirun -n <NP> xterm -hold -e gdb -ex run –args ./program [arg1] … Read more

Android Studio IDE: Break on Exception

To break on all exceptions, caught or uncaught: Open the Breakpoints window via Run -> View Breakpoints. The Breakpoints dialog appears. In the left pane, scroll to the bottom. Select Any exception under Java Exception Breakpoints With Any exception selected, on the right pane, configure as follows: Suspend: checked All: selected Condition: !(this instanceof java.lang.ClassNotFoundException) … Read more

How to debug Google Apps Script (aka where does Logger.log log to?)

UPDATE: As written in this answer, Stackdriver Logging is the preferred method of logging now. Use console.log() to log to Stackdriver. Logger.log will either send you an email (eventually) of errors that have happened in your scripts, or, if you are running things from the Script Editor, you can view the log from the last … Read more

How do I view / replay a chrome network debugger har file saved with content?

There is an HAR Viewer developed by Jan Odvarko that you can use. You either use the online version at http://www.softwareishard.com/har/viewer/ (older version) http://gitgrimbo.github.io/harviewer/master/ (up-to-date master branch) Or download the source-code at https://github.com/janodvarko/harviewer. EDIT: Chrome 62 DevTools include HAR import functionality. https://developers.google.com/web/updates/2017/08/devtools-release-notes#har-imports