Javascript

Debug Production Angular applications

If you have ever developed an Angular app, you would know that debugging production Angular applications is not possible. You can’t read the code because of uglify. Even prettify don’t help much. The reason is that in production builds, ng command removes all the source map files(The ones which are ending with .map). Luckily, there …

Debug Production Angular applications Read More »

5 things you might be doing wrong in Javascript

1. Do not use console.log for debugging This is the most common way of debugging and it’s effective but only for 1 page scripts. If you wish to create full fledged application console.log can rapidly become a headache to manage while debugging. You need an efficient way of debugging. You need a minimal framework to …

5 things you might be doing wrong in Javascript Read More »