Why doesn’t my #!@$#$%@ console show my variables?

Given: Google Chrome, Dev Tools open, Console open. Paused at breakpoint.

$scope.currentDb
$scope.currentDb
$scope.currentDbb
$scope.currentDb
Date.now()

Nothing prints. Why?

Give me a few hours.

Finally, consider the log level selector bottom right of the console panel. Note the current selection is “Debug”. Click the “All” button.

$scope.currentDbb
undefined  (should be)
$scope.currentDb
WebSource {dbName: "name", dbIcon: "name.gif", hasMoreResults: undefined, dbTotalHitCount: "500", dbID: "id"…}
Date.now()
1390414361482

Sigh.

Leave a Reply