Is Debug Window same as Code Window??

Code window--where we write the code.
Debug window--????

No. The debug window is technically called the Immediate Window. Open it by pressing CTRL-G or you can find it in the menus as well.

you can use the debug window to check whether an expression or any operation for which you have written code is working or not.

whether you are getting correct result which supposed to be or not. make sure you have created some breakpoints in your code before trying this.

regards
Shouvik

debug window will be useful when u get some error in your program.

You will know a variables value on the immediate window simply by typing...

?myVariable

after pressing enter, the value of the variable will appear below