Debugging in Drupal 8 Vs. Drupal 7: Quick reference

Submitted by John on Fri, 03/22/2019 - 15:14

I keep digging up this same information from some obscure sources, so I thought I would post it here. Now if you have not set up XDebug with a project locally, I highly recommend that, but still, nothing beats a good stack trace. In Drupal 7, I would drop this into settings.php to show errors, regardless of the site settings:

Firefox fails silently on ajax requests

Submitted by John on Mon, 03/11/2019 - 22:55

I am in the middle of preparing to launch a site on my company's hosting platform. This site in particular consumes a service, provided by a server running on NodeJS. We typically secure dev sites behind some basic authentication by the web server, which is mainly done to prevent dev sites from being indexed by search crawlers. So to get past this basic authentication, I set the dev URL to follow the username:password@domain convention. I have not used this often, only for simple cases over the years.

Scott Adams’ Climate Challenge

Submitted by John on Thu, 01/17/2019 - 08:51

Discussing complex scientific concepts in a medium limited to 240 character messages is probably the worst idea anyone has come up with. Yet here I am, allowing myself to get dragged into drawn out discussions with armchair “skeptics” who don’t really deserve that label. A few weeks ago, Scott Adams, famous as being the creator of the Dilbert comic strip (to his credit, I love these comics), issued a “Climate Challenge” on twitter. Here is his tweet: