Debugging in JavaScript

One of the most popular ways of debugging in JavaScript when you are just getting started is to use the JavaScript alert() and input() functions. However there are times when clicking OK repeatedly can become tedious not to mention time consuming. Here are a few additional advanced JavaScript debugging techniques you can use to help increase your productivity. JavaScript Console API Functions Unlike the alert(), this the console API functions just displays a message in the debugger console and continue execution.¬†For example: console.log(“Total is now: ” + t); There are other useful console API functions for debugging: console.log() … Continue reading

Add WinMerge to WinSCP to Compare Local and Remote Files

I love using WinSCP for so many reasons. One of the many really cool features of WinSCP is the ability to add custom commands. In this article, I will describe how to integrate WinMerge into WinSCP to compare a local version of a file to a remote version. When comparing online and offline source code files, the process is typically to download the online file over FTP or SCP using WinSCP and then compare that to a local version of the file using some file comparison tool or eye-balling the two files in a code editor by flipping back and … Continue reading