Thursday, April 05, 2007

Debug javascript object

/* This is code to debug any javascript object. Just assign obj the variable you want to debug */

var obj = [object to debug]
var temp = "";
for (x in obj)
{
    temp += x + ": " + obj[x] + "\n-----\n";
}
alert (temp);

Reusing the same Next.js Docker image with runtime CDN assetPrefix

Recently, while investigating a production issue, I needed to deploy the production Docker image locally for debugging purposes. However, I ...