Forum Discussion
Reza_Ameri
Feb 28, 2023Silver Contributor
Manage and Debug JavaScript codes
Hi all, As we all know manage and debug of JavaScript is a challenge. We don't have functionality in adding breaking points. It is case sensitive and small spell error or missing of braces cause ...
AddWebSolution
Sep 06, 2023Brass Contributor
Hi Reza_Ameri,
Thanks for posting your issue here.
Here you can manage and debug JavaScript code:
Here is an overview of your problem,
Use the console: The console is a powerful tool that can help you debug JavaScript code. Use 'console. log()' statements to print values and debug information to the console. Use breakpoints: Breakpoints allow you to pause the execution of your code at a specific point and inspect the values of variables and objects
If you know about more this go through the below link:
https://www.linkedin.com/pulse/best-practices-debugging-javascript-code-mohammad-shoeb-faizan/
Best Regards,
AddWebSolution
Thanks for posting your issue here.
Here you can manage and debug JavaScript code:
Here is an overview of your problem,
Use the console: The console is a powerful tool that can help you debug JavaScript code. Use 'console. log()' statements to print values and debug information to the console. Use breakpoints: Breakpoints allow you to pause the execution of your code at a specific point and inspect the values of variables and objects
If you know about more this go through the below link:
https://www.linkedin.com/pulse/best-practices-debugging-javascript-code-mohammad-shoeb-faizan/
Best Regards,
AddWebSolution
Reza_Ameri
Sep 06, 2023Silver Contributor
I am familiar with console.log() and add breaking point and debug in developer tool. However, if you have experience working with C#, VB or similar code, you clearly understand what I mean by maintainability.
- AddWebSolutionSep 07, 2023Brass Contributor
Yes, maintainability is important, but it's not the only factor. Performance and efficiency are also crucial, especially in certain contexts. Striking the right balance between these aspects can be a challenge.
- Reza_AmeriSep 07, 2023Silver ContributorCorrect, I just hope JavaScript would have been more user friendly and easier to debug.
For complex projects maintainability is the key.