Use fully featured IDE and you will be blessed by autosuggestion, error marking, full code search, etc. Coding using IDE is at least twice faster compare to simple text editor, when you master it.
JavaScript and CSS debugging
Use browser's console and inspect functions to debug JavaScript and CSS. These tools are your best friend when dealing with front-end development. Now all browsers have these features integrated. Just use them.
PHP debugging
Install Apache + MySQL + PHP on your computer to run and debug your code. Debugger safes you in cases when you can't debug easily by printing 'echo' statement.