{"id":102186,"date":"2025-06-12T17:10:27","date_gmt":"2025-06-12T11:40:27","guid":{"rendered":"https:\/\/cloudfoundation.com\/blog\/?p=102186"},"modified":"2025-06-12T17:25:39","modified_gmt":"2025-06-12T11:55:39","slug":"how-to-learn-aem-debugging","status":"publish","type":"post","link":"https:\/\/cloudfoundation.com\/blog\/how-to-learn-aem-debugging\/","title":{"rendered":"How to Learn AEM Debugging"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.9.7&#8243;][et_pb_row _builder_version=&#8221;4.9.7&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_post_title meta=&#8221;off&#8221; featured_image=&#8221;off&#8221; _builder_version=&#8221;4.9.7&#8243; title_font=&#8221;Times New Roman||||||||&#8221; title_text_align=&#8221;left&#8221; title_text_color=&#8221;#000000&#8243; title_font_size=&#8221;47&#8243; background_color=&#8221;RGBA(0,0,0,0)&#8221; background_enable_image=&#8221;off&#8221; custom_margin=&#8221;|||10%&#8221; title_font_size_tablet=&#8221;40&#8243; title_font_size_phone=&#8221;35&#8243; title_font_size_last_edited=&#8221;on|desktop&#8221;][\/et_pb_post_title][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.9.7&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;4.9.7&#8243; text_font=&#8221;Georgia||||||||&#8221; text_text_color=&#8221;#000000&#8243; text_font_size=&#8221;22px&#8221; text_line_height=&#8221;1.9em&#8221; max_width=&#8221;800px&#8221; max_width_last_edited=&#8221;off|phone&#8221; custom_margin=&#8221;|||10%&#8221; custom_margin_last_edited=&#8221;off|desktop&#8221; hover_enabled=&#8221;0&#8243; text_font_size_tablet=&#8221;&#8221; text_font_size_phone=&#8221;&#8221; text_font_size_last_edited=&#8221;on|phone&#8221; text_line_height_last_edited=&#8221;off|phone&#8221; sticky_enabled=&#8221;0&#8243;]<\/p><div id=\"ez-toc-container\" class=\"ez-toc-v2_0_80 ez-toc-wrap-center counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/cloudfoundation.com\/blog\/how-to-learn-aem-debugging\/#The_concept_of_Debugging_in_AEM\" >The concept of Debugging in AEM<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/cloudfoundation.com\/blog\/how-to-learn-aem-debugging\/#Debugging_in_AEM\" >Debugging in AEM<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/cloudfoundation.com\/blog\/how-to-learn-aem-debugging\/#Integrating_Debugging_in_IntelliJ\" >Integrating Debugging in IntelliJ<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/cloudfoundation.com\/blog\/how-to-learn-aem-debugging\/#Establishing_Connection_in_AEM\" >Establishing Connection in AEM<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/cloudfoundation.com\/blog\/how-to-learn-aem-debugging\/#Setting_Up_Debugging_in_AEM\" >Setting Up Debugging in AEM<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/cloudfoundation.com\/blog\/how-to-learn-aem-debugging\/#AEM_Training\" >AEM Training<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/cloudfoundation.com\/blog\/how-to-learn-aem-debugging\/#Debugging_Logs_in_AEM\" >Debugging Logs in AEM<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/cloudfoundation.com\/blog\/how-to-learn-aem-debugging\/#Debug_Varieties_in_AEM\" >Debug Varieties in AEM<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/cloudfoundation.com\/blog\/how-to-learn-aem-debugging\/#Debugging_AEM_Servlets\" >Debugging AEM Servlets<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/cloudfoundation.com\/blog\/how-to-learn-aem-debugging\/#Remote_Debugging_in_AEM\" >Remote Debugging in AEM<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/cloudfoundation.com\/blog\/how-to-learn-aem-debugging\/#AEM_Server_in_Debug_Mode\" >AEM Server in Debug Mode<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/cloudfoundation.com\/blog\/how-to-learn-aem-debugging\/#Productive_Debugging_Tactics_in_AEM\" >Productive Debugging Tactics in AEM<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/cloudfoundation.com\/blog\/how-to-learn-aem-debugging\/#How_to_Make_Debugging_in_AEM_the_Most_Useful\" >How to Make Debugging in AEM the Most Useful<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/cloudfoundation.com\/blog\/how-to-learn-aem-debugging\/#IntelliJ_AEM\" >IntelliJ AEM<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/cloudfoundation.com\/blog\/how-to-learn-aem-debugging\/#Debugging_as_a_Tool_in_AEM_Projects\" >Debugging as a Tool in AEM Projects<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/cloudfoundation.com\/blog\/how-to-learn-aem-debugging\/#Summary_of_AEM_Debugging\" >Summary of AEM Debugging<\/a><\/li><\/ul><\/nav><\/div>\n\n<h2><span class=\"ez-toc-section\" id=\"The_concept_of_Debugging_in_AEM\"><\/span><strong>The concept of Debugging in AEM<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Being able to debug might be one of the primary skills required for any work linked to AEM projects.<\/p>\n<p>Whether you&#8217;re trying to solve a problem with the backend or dissecting logs, the skill of debugging can save your work.<\/p>\n<p>For demonstration purposes, we will walk through the process of setting up AEM for debugging. First and foremost, we confirm that the server is in debug mode.<\/p>\n<p><img decoding=\"async\" class=\"size-medium aligncenter\" src=\"http:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2025\/06\/Debugging-in-AEM-Projects.png\" alt=\"AEM Training\" width=\"800\" height=\"1066\" \/><\/p>\n<p>This action will enable us to view the value of variables, understand the flow of execution, and solve problems effectively.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Debugging_in_AEM\"><\/span><strong>Debugging in AEM<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>AEM debugging is an indispensable competency in <strong><a href=\"https:\/\/cloudfoundation.com\/blog\/aem-certification-be-a-certified-learner\" target=\"_blank\" rel=\"noopener\">AEM development<\/a><\/strong>, as it enables you to identify non-trivial issues and therefore be more productive.<\/p>\n<p>In the case of AEM, it is necessary to check the values frequently, and having the correct setting for debugging will make troubleshooting much more straightforward.<\/p>\n<p>AEM debugging is a crucial stage in enriching our application knowledge. It is obligatory to follow the process of setting the breakpoint at the key line that allows us to follow the control flow.<\/p>\n<p>The first step in troubleshooting AEM-related issues is to configure your AEM case in debug mode, which is a required step. When AEM does not start due to port conflicts, we are usually in trouble, and the knowledge of port resolving is the main point.<\/p>\n<p>To start with, we have to use a Java command that starts the AEM server with the debug parameters.<\/p>\n<p>The structure usually involves alternatives like &#8216;-Xdebug&#8217;, &#8216;-Xrunjdwp&#8217; and the specified port number for debug When performing the set up of AEM, we opt for a debug port that is not in use by any of the processes already running.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Integrating_Debugging_in_IntelliJ\"><\/span><strong>Integrating Debugging in IntelliJ<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The following task, which is performed after AEM is running in debug mode, involves integrating AEM with IntelliJ for easy debugging. Thus, we can confirm the smooth and simple debugging process.<\/p>\n<p>In the &#8220;Run&#8221; menu, we set up a debug configuration remotely and add the host as &#8220;localhost&#8221; and the debug port as &#8220;30303&#8221;.<\/p>\n<p>This problem means that the debugging session of AEM coincides with the one IntelliJ is expecting.<\/p>\n<p>To check our settings and confirm that the system console logs show that the server starts with the debug mode.<br \/>\n<video src=\"http:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2025\/06\/Debugging-AEM-in-IntelliJ.webm\" poster=\"https:\/\/cloudfoundation.com\/blog\/wp-content\/plugins\/a3-lazy-load\/assets\/images\/lazy_placeholder.gif\" autoplay=\"autoplay\" loop=\"loop\" muted=\"\" width=\"800\" height=\"auto\"><\/video><\/p>\n<p>To this end, we have to change the following, check the logs in the system console to verify that the server has started with the debug model, and if it hangs due to the port already being in use, we continue by killing the process in &#8216;Activity Supervisor&#8217;.<\/p>\n<p><strong>Problem-solving AEM Debugging Issues<\/strong><\/p>\n<p>The debugging process for AEM requires close attention to detail. If AEM fails to start correctly due to an erroneous port being in use, investigating and closing unnecessary running Java processes is more than sufficient to resolve the issue.<\/p>\n<p>Another essential thing to consider is using the \u2018-XX: HeapDumpOnOutOfMemoryError&#8217; option to prevent applications from crashing.<\/p>\n<p>When troubleshooting, we also adjust the logging levels, which provides finer visibility. Employing options such as &#8216;-DlogLevel=INFO&#8217; would provide a more transparent and understandable log, ultimately leading to quicker problem resolution. With the correct settings, the AEM can run in debug mode adequately.[\/et_pb_text][et_pb_text _builder_version=&#8221;4.9.7&#8243; text_font=&#8221;Georgia||||||||&#8221; text_text_color=&#8221;#000000&#8243; text_font_size=&#8221;22px&#8221; text_line_height=&#8221;1.9em&#8221; max_width=&#8221;800px&#8221; max_width_last_edited=&#8221;off|phone&#8221; custom_margin=&#8221;|||10%&#8221; custom_margin_last_edited=&#8221;off|desktop&#8221; hover_enabled=&#8221;0&#8243; text_font_size_tablet=&#8221;&#8221; text_font_size_phone=&#8221;&#8221; text_font_size_last_edited=&#8221;on|phone&#8221; text_line_height_last_edited=&#8221;off|phone&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Establishing_Connection_in_AEM\"><\/span><strong>Establishing Connection in AEM<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Clicking the debug icon initiates the connection. A new terminal output that reads &#8216;connected&#8217; should be visible if everything is done correctly on the running AEM server.<\/p>\n<p>If you haven&#8217;t, please ensure that you have started your AEM server properly.<\/p>\n<p>For those of you who receive a connection refusal error, don&#8217;t be upset.<\/p>\n<p><img decoding=\"async\" class=\"size-medium aligncenter\" src=\"http:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2025\/06\/AEM-Debugging-Essentials.png\" alt=\"\" width=\"800\" height=\"2634\" \/><\/p>\n<p>You&#8217;re not alone, Now, permit&#8217;s only work with those who are already connected and come back to any issues we will deal with later<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Setting_Up_Debugging_in_AEM\"><\/span><strong>Setting Up Debugging in AEM<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The first step to debug the AEM project is to open a Java class and locate a specific line, such as line 40. Then you need to click in the margin next to the line number on the left.<\/p>\n<p>By doing so, a red dot will appear, indicating that the breakpoint has already been set.<\/p>\n<p>The execution of the code becomes easier and quicker if we use breakpoints in AEM debug, as they help us stop the code at any point. Etc.<\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;1_3,1_3,1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;#064399&#8243; use_background_color_gradient=&#8221;on&#8221; background_color_gradient_start=&#8221;#0095f2&#8243; background_color_gradient_end=&#8221;#7dbed8&#8243; background_color_gradient_direction=&#8221;92deg&#8221; background_color_gradient_start_position=&#8221;35%&#8221; background_color_gradient_end_position=&#8221;80%&#8221; transform_scale=&#8221;73%|62%&#8221; transform_scale_linked=&#8221;off&#8221; transform_translate=&#8221;-53px|-50px&#8221; transform_translate_linked=&#8221;off&#8221; link_option_url=&#8221;https:\/\/cloudfoundation.com\/blog\/&#8221; link_option_url_new_window=&#8221;on&#8221;][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_image src=&#8221;https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2023\/06\/SS_436-_Converted_-1.png&#8221; url=&#8221;https:\/\/cloudfoundation.com\/blog\/&#8221; url_new_window=&#8221;on&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; transform_scale=&#8221;114%|112%&#8221; transform_scale_linked=&#8221;off&#8221; transform_translate=&#8221;25px|-4px&#8221; transform_translate_linked=&#8221;off&#8221; width=&#8221;98.1%&#8221; custom_margin=&#8221;|7px|||false|false&#8221;][\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; text_font=&#8221;Georgia|700|||||||&#8221; text_font_size=&#8221;23px&#8221; text_line_height=&#8221;1.3em&#8221; header_font=&#8221;Georgia|700|||||||&#8221; header_font_size=&#8221;21px&#8221; header_letter_spacing=&#8221;-1px&#8221; header_line_height=&#8221;2em&#8221; transform_scale=&#8221;171%|159%&#8221; transform_scale_linked=&#8221;off&#8221; transform_translate=&#8221;40px|44px&#8221; transform_translate_linked=&#8221;off&#8221; transform_origin=&#8221;70%|50%&#8221; z_index=&#8221;-161&#8243; width=&#8221;100%&#8221; custom_margin=&#8221;|-215px||||&#8221; custom_padding=&#8221;|0px||||&#8221; link_option_url=&#8221;https:\/\/cloudfoundation.com\/blog\/&#8221; link_option_url_new_window=&#8221;on&#8221;]<\/p>\n<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"AEM_Training\"><\/span><span style=\"color: #ffffff;\"><strong>AEM Training<\/strong><\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h2><\/h2>\n<p style=\"text-align: center;\">[\/et_pb_text][et_pb_button button_url=&#8221;https:\/\/cloudfoundation.com\/blog\/&#8221; url_new_window=&#8221;on&#8221; button_text=&#8221;Explore Course Content&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; custom_button=&#8221;on&#8221; button_text_color=&#8221;#0C71C3&#8243; button_bg_color=&#8221;#FFFFFF&#8221; button_font=&#8221;|700|||||||&#8221; transform_translate=&#8221;64px|65px&#8221; transform_translate_linked=&#8221;off&#8221;][\/et_pb_button][\/et_pb_column][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_image src=&#8221;https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2019\/06\/logo_resize_color.png&#8221; url=&#8221;https:\/\/cloudfoundation.com\/blog\/&#8221; url_new_window=&#8221;on&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; transform_translate=&#8221;-36px|0px&#8221; transform_translate_linked=&#8221;off&#8221; custom_margin=&#8221;|||178px||&#8221;][\/et_pb_image][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.9.7&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;4.9.7&#8243; text_font=&#8221;Georgia||||||||&#8221; text_text_color=&#8221;#000000&#8243; text_font_size=&#8221;22px&#8221; text_line_height=&#8221;1.9em&#8221; max_width=&#8221;800px&#8221; max_width_last_edited=&#8221;off|phone&#8221; custom_margin=&#8221;|||10%&#8221; custom_margin_last_edited=&#8221;off|desktop&#8221; hover_enabled=&#8221;0&#8243; text_font_size_tablet=&#8221;&#8221; text_font_size_phone=&#8221;&#8221; text_font_size_last_edited=&#8221;on|phone&#8221; text_line_height_last_edited=&#8221;off|phone&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Debugging_Logs_in_AEM\"><\/span><strong>Debugging Logs in AEM<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Once you press Ctrl+R for a page (browser refresh), you can then follow and inspect the debug data. While the Java class corresponding to the JSP is running, the line will be highlighted.<\/p>\n<p>With AEM displaying each new variable, it provides a means to view data, follow the program&#8217;s flow, and verify the program&#8217;s logical correctness.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Debug_Varieties_in_AEM\"><\/span><strong>Debug Varieties in AEM<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>AEM provides numerous debugging opportunities. Release&#8217;s have a look at them. &#8216;Step over&#8217; and &#8216;step into&#8217; are used to sail through the functions, whereas &#8216;step out&#8217; will help you leave the current function scope.<\/p>\n<p><img decoding=\"async\" class=\"size-medium aligncenter\" src=\"http:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2025\/06\/Debugging-AEM-Logs.png\" alt=\"AEM Training\" width=\"800\" height=\"1070\" \/>If you press &#8216;Resume Program,&#8217; execution will continue up to the next breakpoint, where you can stop the debugger at any time by unplugging it.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Debugging_AEM_Servlets\"><\/span><strong>Debugging AEM Servlets<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>AEM also enables debugging of servlets. When you are not sure about the execution of servlets, you can always open the file, place a breakpoint in it, and use the servlet\u2019s way to gain access to that servlet.<\/p>\n<p>When you have entered the lane-based servlet through localhost, the execution stops at the set breakpoint, and the current state of local runtime variables can be checked for troubleshooting needs.<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.9.7&#8243; text_font=&#8221;Georgia||||||||&#8221; text_text_color=&#8221;#000000&#8243; text_font_size=&#8221;22px&#8221; text_line_height=&#8221;1.9em&#8221; max_width=&#8221;800px&#8221; max_width_last_edited=&#8221;off|phone&#8221; custom_margin=&#8221;|||10%&#8221; custom_margin_last_edited=&#8221;off|desktop&#8221; hover_enabled=&#8221;0&#8243; text_font_size_tablet=&#8221;&#8221; text_font_size_phone=&#8221;&#8221; text_font_size_last_edited=&#8221;on|phone&#8221; text_line_height_last_edited=&#8221;off|phone&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Remote_Debugging_in_AEM\"><\/span><strong>Remote Debugging in AEM<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>In remote debugging in AEM, developers can observe what is happening in the code as it runs on a physical device.<\/p>\n<p>Many developers face difficulties in setting up remote debugging. Still, after understanding the core concepts, it will become an inevitable tool.<\/p>\n<p>When your file is requested, the actual values being processed are displayed, and you can efficiently identify errors in <strong><a href=\"https:\/\/cloudfoundation.com\/blog\/what-is-aem\" target=\"_blank\" rel=\"noopener\">AEM applications<\/a><\/strong>.<\/p>\n<p>Please keep in mind that remote debugging should be practised on the local machine and should never be switched on at higher levels.<\/p>\n<p>AEM development recommended practices advise against enabling debugging permanently, as it can consume excessive system resources and slow performance.<br \/>\n<video src=\"http:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2025\/06\/Remote-Debugging-AEM.webm\" poster=\"https:\/\/cloudfoundation.com\/blog\/wp-content\/plugins\/a3-lazy-load\/assets\/images\/lazy_placeholder.gif\" autoplay=\"autoplay\" loop=\"loop\" muted=\"\" width=\"800\" height=\"auto\"><\/video><\/p>\n<p>One of the key points that AEM debugging typically addresses is connection error issues. If your server is on one port while the debugger is connecting to a different port, you need to configure them both. When the server is rebooted with the correct settings, it ensures that the debugging process runs smoothly.<\/p>\n<p>Sharing your screens and troubleshooting problems together is a practical way to learn AEM debugging processes.<\/p>\n<p>AEM development is all about practical trial and error, as well as incessantly refining oneself. Parallel to that thought, if you engage in imaginative ideas one after another, you will become accustomed to them without noticing it.[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;1_3,1_3,1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;#064399&#8243; use_background_color_gradient=&#8221;on&#8221; background_color_gradient_start=&#8221;#ff8c7c&#8221; background_color_gradient_end=&#8221;#e5ba4e&#8221; background_color_gradient_type=&#8221;radial&#8221; background_color_gradient_direction_radial=&#8221;top left&#8221; background_color_gradient_start_position=&#8221;35%&#8221; background_color_gradient_end_position=&#8221;80%&#8221; transform_scale=&#8221;74%|69%&#8221; transform_scale_linked=&#8221;off&#8221; transform_translate=&#8221;-53px|-50px&#8221; transform_translate_linked=&#8221;off&#8221; custom_margin=&#8221;||-5px||false|false&#8221; custom_padding=&#8221;|||2px|false|false&#8221; link_option_url=&#8221;https:\/\/cloudfoundation.com\/blog\/&#8221; link_option_url_new_window=&#8221;on&#8221;][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_image src=&#8221;https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2023\/06\/8423118_3895895.png&#8221; url=&#8221;https:\/\/cloudfoundation.com\/blog\/&#8221; url_new_window=&#8221;on&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; width=&#8221;85.4%&#8221; custom_margin=&#8221;-31px||-24px||false|false&#8221; custom_padding=&#8221;|22px|0px||false|false&#8221;][\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; text_font=&#8221;Georgia|700|||||||&#8221; text_font_size=&#8221;23px&#8221; text_line_height=&#8221;1.3em&#8221; header_font=&#8221;Georgia|700|||||||&#8221; header_font_size=&#8221;19px&#8221; header_letter_spacing=&#8221;-1px&#8221; header_line_height=&#8221;1.2em&#8221; transform_scale=&#8221;171%|159%&#8221; transform_scale_linked=&#8221;off&#8221; transform_translate=&#8221;40px|44px&#8221; transform_translate_linked=&#8221;off&#8221; transform_origin=&#8221;70%|50%&#8221; z_index=&#8221;-161&#8243; width=&#8221;100%&#8221; custom_margin=&#8221;|-215px||||&#8221; custom_padding=&#8221;|0px||||&#8221; link_option_url=&#8221;https:\/\/cloudfoundation.com\/&#8221; link_option_url_new_window=&#8221;on&#8221;]<\/p>\n<p style=\"text-align: center;\"><span style=\"color: #000000;\"><strong>AEM Online Training<\/strong><\/span><\/p>\n<p>[\/et_pb_text][et_pb_button button_url=&#8221;https:\/\/cloudfoundation.com\/blog\/&#8221; url_new_window=&#8221;on&#8221; button_text=&#8221;Up Coming Batches&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; custom_button=&#8221;on&#8221; button_text_color=&#8221;#E09900&#8243; button_bg_color=&#8221;#FFFFFF&#8221; button_font=&#8221;|700|||||||&#8221; transform_translate=&#8221;64px|65px&#8221; transform_translate_linked=&#8221;off&#8221; background_layout=&#8221;dark&#8221;][\/et_pb_button][\/et_pb_column][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_image src=&#8221;https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2019\/06\/logo_resize_color.png&#8221; url=&#8221;https:\/\/cloudfoundation.com\/blog\/&#8221; url_new_window=&#8221;on&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; transform_translate=&#8221;-36px|0px&#8221; transform_translate_linked=&#8221;off&#8221; custom_margin=&#8221;|||178px||&#8221;][\/et_pb_image][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.9.7&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text content_tablet=&#8221;&#8221; content_phone=&#8221;&#8221; content_last_edited=&#8221;on|desktop&#8221; _builder_version=&#8221;4.9.7&#8243; text_font=&#8221;Georgia||||||||&#8221; text_text_color=&#8221;#000000&#8243; text_font_size=&#8221;22px&#8221; text_line_height=&#8221;1.9em&#8221; max_width=&#8221;800px&#8221; max_width_last_edited=&#8221;off|phone&#8221; custom_margin=&#8221;|||10%&#8221; custom_margin_last_edited=&#8221;off|desktop&#8221; hover_enabled=&#8221;0&#8243; text_font_size_tablet=&#8221;&#8221; text_font_size_phone=&#8221;&#8221; text_font_size_last_edited=&#8221;on|phone&#8221; text_line_height_last_edited=&#8221;off|phone&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h3><span class=\"ez-toc-section\" id=\"AEM_Server_in_Debug_Mode\"><\/span><strong>AEM Server in Debug Mode<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>For AEM to be in debug mode, the server must be executed with the debug option as the first step, then you can continue by attaching your IDE to the server&#8217;s debug port.<\/p>\n<p>AEM developers often opt for straightforward methods to keep debugging enabled in a startup script, although this can also lead to unnecessary performance issues. The right way is to use the one-time start-up debugging arrangement.<\/p>\n<p>Often, developers encounter a significant problem with AEM when they inadvertently activate the server&#8217;s debug mode for various reasons.<\/p>\n<p>Enabling debugging in the startup script may slow down the system and consume a significant amount of memory.<\/p>\n<p>The most suitable solution is to shut down the AEM server, make the requisite developments, and only activate the debug mode when it is required again.<\/p>\n<p><img decoding=\"async\" class=\"size-medium aligncenter\" src=\"http:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2025\/06\/AEM-Debugging-Best-Practices.png\" alt=\"AEM Training\" width=\"800\" height=\"2783\" \/><\/p>\n<p>Alternatively, developers can use tools such as Activity Monitor on macOS to identify the processes consuming a significant amount of memory.<\/p>\n<p>In AEM, Java processes frequently require a lot of system resources, but if they can be recognised early, performance can be optimised more effectively.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Productive_Debugging_Tactics_in_AEM\"><\/span><strong>Productive Debugging Tactics in AEM<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Developers must refer to the most suitable debugging methods when determining the right course of action in AEM.<\/p>\n<p>Beginning the AEM server in debug mode can be done manually or by configuring the start script. Despite that, hands-on control guarantees lower memory consumption and improved performance.<\/p>\n<p>During the configuration of the debugger, developers must pay attention to selecting the appropriate remote debug port to avoid any conflicting settings in the AEM system.<\/p>\n<p>The debugging port 8000 in AEM is a default setting, not a requirement. Electing another one, such as 303, will enable debugging without disrupting other processes.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_Make_Debugging_in_AEM_the_Most_Useful\"><\/span><strong>How to Make Debugging in AEM the Most Useful<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>When running a debugger in AEM, it incorporates the settings of Java courses that are relevant to the context. Developers must correctly set up debug mode, including memory parameters for execution, to prevent memory settings from causing unnecessary performance slowdowns.<\/p>\n<p>The debugging commands must also be error-free, meaning they must be correct from the moment of setup to the actual absence of errors or their occurrence, and everything in between.<\/p>\n<p><img decoding=\"async\" class=\"size-medium aligncenter\" src=\"http:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2025\/06\/Debugging-Essentials.png\" alt=\"AEM Training\" width=\"800\" height=\"945\" \/>Ensuring smooth debugging in AEM is possible by setting up and checking the syntax correctly.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"IntelliJ_AEM\"><\/span><strong>IntelliJ AEM<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>As soon as we activate IntelliJ&#8217;s debug mode, we should proceed to connect IntelliJ. Click the green bug icon in the upper right-hand corner to establish the connection.<\/p>\n<p>If everything works well, IntelliJ will connect to the AEM process with a click.<\/p>\n<p>At this stage, it is essential to set breakpoints that allow you to stop the program at a specific location. This way, you can inspect the variable values and trace the program execution.<\/p>\n<p>Observing the etiquette of AEM products is a highly effective way to gain a deep understanding of how they work.<\/p>\n<p>[\/et_pb_text][et_pb_text _builder_version=&#8221;4.9.7&#8243; text_font=&#8221;Georgia||||||||&#8221; text_text_color=&#8221;#000000&#8243; text_font_size=&#8221;22px&#8221; text_line_height=&#8221;1.9em&#8221; max_width=&#8221;800px&#8221; max_width_last_edited=&#8221;off|phone&#8221; custom_margin=&#8221;|||10%&#8221; custom_margin_last_edited=&#8221;off|desktop&#8221; hover_enabled=&#8221;0&#8243; text_font_size_tablet=&#8221;&#8221; text_font_size_phone=&#8221;&#8221; text_font_size_last_edited=&#8221;on|phone&#8221; text_line_height_last_edited=&#8221;off|phone&#8221; sticky_enabled=&#8221;0&#8243;]<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Debugging_as_a_Tool_in_AEM_Projects\"><\/span><strong>Debugging as a Tool in AEM Projects<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>We can debug AEM projects competently if we learn to utilise debugging effectively.<\/p>\n<p>Even if we do not have a firm grasp of Java programming, the ability to debug comes in handy for productive troubleshooting.<br \/>\n<video src=\"http:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2025\/06\/AEM-Debugging-Techniques.webm\" poster=\"https:\/\/cloudfoundation.com\/blog\/wp-content\/plugins\/a3-lazy-load\/assets\/images\/lazy_placeholder.gif\" autoplay=\"autoplay\" loop=\"loop\" muted=\"\" width=\"800\" height=\"auto\"><\/video><br \/>\nAn \u00a0<strong><a href=\"https:\/\/cloudfoundation.com\/aem-assets-training\" target=\"_blank\" rel=\"noopener\">AEM developer<\/a><\/strong> is generally occupied in debugging to find the causes of performance decreases and errors, and to ensure that habit components in the AEM ecosystem run correctly without any issues.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Summary_of_AEM_Debugging\"><\/span><strong>Summary of AEM Debugging<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Once the debugging setup is made correctly, it is possible to solve any issue in AEM. The possibility of checking the course of an execution, changing some values, and thus solving problems makes easy development in the AEM environment.<\/p>\n<p>Applying the tactics of debugging, we can not only invent time for more work but also increase the probability of working successfully with the AEM projects.[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;1_3,1_3,1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; background_color=&#8221;#064399&#8243; use_background_color_gradient=&#8221;on&#8221; background_color_gradient_start=&#8221;#494fff&#8221; background_color_gradient_end=&#8221;#9ea6ff&#8221; background_color_gradient_type=&#8221;radial&#8221; background_color_gradient_direction_radial=&#8221;top left&#8221; background_color_gradient_start_position=&#8221;35%&#8221; background_color_gradient_end_position=&#8221;80%&#8221; transform_scale=&#8221;74%|71%&#8221; transform_scale_linked=&#8221;off&#8221; transform_translate=&#8221;-53px|-50px&#8221; transform_translate_linked=&#8221;off&#8221; custom_padding=&#8221;||27px|||&#8221; link_option_url=&#8221;https:\/\/cloudfoundation.com\/blog\/&#8221; link_option_url_new_window=&#8221;on&#8221;][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_image src=&#8221;https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2023\/06\/Untitled-11.png&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; transform_scale=&#8221;103%|103%&#8221; transform_scale_linked=&#8221;off&#8221; transform_translate=&#8221;11px|0px&#8221; transform_translate_linked=&#8221;off&#8221; custom_padding=&#8221;|88px||||&#8221;][\/et_pb_image][\/et_pb_column][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_text _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; text_font=&#8221;Georgia|700|||||||&#8221; text_text_color=&#8221;#FFFFFF&#8221; text_font_size=&#8221;23px&#8221; text_line_height=&#8221;1.3em&#8221; header_font=&#8221;Georgia|700|||||||&#8221; header_font_size=&#8221;19px&#8221; header_letter_spacing=&#8221;-1px&#8221; header_line_height=&#8221;1.2em&#8221; transform_scale=&#8221;171%|159%&#8221; transform_scale_linked=&#8221;off&#8221; transform_translate=&#8221;40px|44px&#8221; transform_translate_linked=&#8221;off&#8221; transform_origin=&#8221;70%|50%&#8221; z_index=&#8221;-161&#8243; width=&#8221;100%&#8221; custom_margin=&#8221;|-215px||||&#8221; custom_padding=&#8221;|0px||||&#8221; link_option_url=&#8221;https:\/\/cloudfoundation.com\/blog\/&#8221; link_option_url_new_window=&#8221;on&#8221;]<\/p>\n<p style=\"text-align: center;\"><span style=\"color: #ffffff;\"><strong>AEM Course Price<\/strong><\/span><\/p>\n<p>[\/et_pb_text][et_pb_button button_url=&#8221;https:\/\/cloudfoundation.com\/blog\/&#8221; url_new_window=&#8221;on&#8221; button_text=&#8221;Offer Price&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; custom_button=&#8221;on&#8221; button_text_color=&#8221;#0C71C3&#8243; button_bg_color=&#8221;#FFFFFF&#8221; button_font=&#8221;|700|||||||&#8221; transform_translate=&#8221;64px|65px&#8221; transform_translate_linked=&#8221;off&#8221;][\/et_pb_button][\/et_pb_column][et_pb_column type=&#8221;1_3&#8243; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221;][et_pb_image src=&#8221;https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2019\/06\/logo_resize_color.png&#8221; url=&#8221;https:\/\/cloudfoundation.com\/blog\/&#8221; url_new_window=&#8221;on&#8221; _builder_version=&#8221;4.9.7&#8243; _module_preset=&#8221;default&#8221; transform_translate=&#8221;-36px|0px&#8221; transform_translate_linked=&#8221;off&#8221; custom_margin=&#8221;|||178px||&#8221;][\/et_pb_image][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.9.7&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_team_member name=&#8221;Vinitha Indhukuri&#8221; position=&#8221;Author&#8221; image_url=&#8221;https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2025\/02\/Vinitha-Indhukuri-e1739946272117.png&#8221; _builder_version=&#8221;4.9.7&#8243; header_level=&#8221;h5&#8243; header_font=&#8221;Titillium Web|700|||||||&#8221; body_font=&#8221;Titillium Web||||||||&#8221; body_font_size=&#8221;16&#8243;]Success isn\u2019t about being the best; it\u2019s about being better than you were yesterday.[\/et_pb_team_member][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.9.7&#8243;][et_pb_row _builder_version=&#8221;4.9.7&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_post_title meta=&#8221;off&#8221; featured_image=&#8221;off&#8221; _builder_version=&#8221;4.9.7&#8243; title_font=&#8221;Times New Roman||||||||&#8221; title_text_align=&#8221;left&#8221; title_text_color=&#8221;#000000&#8243; title_font_size=&#8221;47&#8243; background_color=&#8221;RGBA(0,0,0,0)&#8221; background_enable_image=&#8221;off&#8221; custom_margin=&#8221;|||10%&#8221; title_font_size_tablet=&#8221;40&#8243; title_font_size_phone=&#8221;35&#8243; title_font_size_last_edited=&#8221;on|desktop&#8221;][\/et_pb_post_title][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.9.7&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;4.9.7&#8243; text_font=&#8221;Georgia||||||||&#8221; text_text_color=&#8221;#000000&#8243; text_font_size=&#8221;22px&#8221; text_line_height=&#8221;1.9em&#8221; max_width=&#8221;800px&#8221; max_width_last_edited=&#8221;off|phone&#8221; custom_margin=&#8221;|||10%&#8221; custom_margin_last_edited=&#8221;off|desktop&#8221; hover_enabled=&#8221;0&#8243; text_font_size_tablet=&#8221;&#8221; text_font_size_phone=&#8221;&#8221; text_font_size_last_edited=&#8221;on|phone&#8221; text_line_height_last_edited=&#8221;off|phone&#8221; sticky_enabled=&#8221;0&#8243;] The concept of Debugging in AEM [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":102202,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"2880","footnotes":""},"categories":[209],"tags":[],"class_list":{"0":"post-102186","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-adobe"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Learn AEM Debugging<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cloudfoundation.com\/blog\/how-to-learn-aem-debugging\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Learn AEM Debugging\" \/>\n<meta property=\"og:description\" content=\"[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.9.7&#8243;][et_pb_row _builder_version=&#8221;4.9.7&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_post_title meta=&#8221;off&#8221; featured_image=&#8221;off&#8221; _builder_version=&#8221;4.9.7&#8243; title_font=&#8221;Times New Roman||||||||&#8221; title_text_align=&#8221;left&#8221; title_text_color=&#8221;#000000&#8243; title_font_size=&#8221;47&#8243; background_color=&#8221;RGBA(0,0,0,0)&#8221; background_enable_image=&#8221;off&#8221; custom_margin=&#8221;|||10%&#8221; title_font_size_tablet=&#8221;40&#8243; title_font_size_phone=&#8221;35&#8243; title_font_size_last_edited=&#8221;on|desktop&#8221;][\/et_pb_post_title][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.9.7&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;4.9.7&#8243; text_font=&#8221;Georgia||||||||&#8221; text_text_color=&#8221;#000000&#8243; text_font_size=&#8221;22px&#8221; text_line_height=&#8221;1.9em&#8221; max_width=&#8221;800px&#8221; max_width_last_edited=&#8221;off|phone&#8221; custom_margin=&#8221;|||10%&#8221; custom_margin_last_edited=&#8221;off|desktop&#8221; hover_enabled=&#8221;0&#8243; text_font_size_tablet=&#8221;&#8221; text_font_size_phone=&#8221;&#8221; text_font_size_last_edited=&#8221;on|phone&#8221; text_line_height_last_edited=&#8221;off|phone&#8221; sticky_enabled=&#8221;0&#8243;] The concept of Debugging in AEM [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/cloudfoundation.com\/blog\/how-to-learn-aem-debugging\/\" \/>\n<meta property=\"og:site_name\" content=\"CloudFoundation | Blog\" \/>\n<meta property=\"article:published_time\" content=\"2025-06-12T11:40:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-12T11:55:39+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2025\/06\/3.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"500\" \/>\n\t<meta property=\"og:image:height\" content=\"500\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"NAGENDRAG\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"NAGENDRAG\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Learn AEM Debugging","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cloudfoundation.com\/blog\/how-to-learn-aem-debugging\/","og_locale":"en_US","og_type":"article","og_title":"How to Learn AEM Debugging","og_description":"[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.9.7&#8243;][et_pb_row _builder_version=&#8221;4.9.7&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_post_title meta=&#8221;off&#8221; featured_image=&#8221;off&#8221; _builder_version=&#8221;4.9.7&#8243; title_font=&#8221;Times New Roman||||||||&#8221; title_text_align=&#8221;left&#8221; title_text_color=&#8221;#000000&#8243; title_font_size=&#8221;47&#8243; background_color=&#8221;RGBA(0,0,0,0)&#8221; background_enable_image=&#8221;off&#8221; custom_margin=&#8221;|||10%&#8221; title_font_size_tablet=&#8221;40&#8243; title_font_size_phone=&#8221;35&#8243; title_font_size_last_edited=&#8221;on|desktop&#8221;][\/et_pb_post_title][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.9.7&#8243; background_size=&#8221;initial&#8221; background_position=&#8221;top_left&#8221; background_repeat=&#8221;repeat&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text _builder_version=&#8221;4.9.7&#8243; text_font=&#8221;Georgia||||||||&#8221; text_text_color=&#8221;#000000&#8243; text_font_size=&#8221;22px&#8221; text_line_height=&#8221;1.9em&#8221; max_width=&#8221;800px&#8221; max_width_last_edited=&#8221;off|phone&#8221; custom_margin=&#8221;|||10%&#8221; custom_margin_last_edited=&#8221;off|desktop&#8221; hover_enabled=&#8221;0&#8243; text_font_size_tablet=&#8221;&#8221; text_font_size_phone=&#8221;&#8221; text_font_size_last_edited=&#8221;on|phone&#8221; text_line_height_last_edited=&#8221;off|phone&#8221; sticky_enabled=&#8221;0&#8243;] The concept of Debugging in AEM [&hellip;]","og_url":"https:\/\/cloudfoundation.com\/blog\/how-to-learn-aem-debugging\/","og_site_name":"CloudFoundation | Blog","article_published_time":"2025-06-12T11:40:27+00:00","article_modified_time":"2025-06-12T11:55:39+00:00","og_image":[{"width":500,"height":500,"url":"http:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2025\/06\/3.jpg","type":"image\/jpeg"}],"author":"NAGENDRAG","twitter_card":"summary_large_image","twitter_misc":{"Written by":"NAGENDRAG","Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/cloudfoundation.com\/blog\/how-to-learn-aem-debugging\/","url":"https:\/\/cloudfoundation.com\/blog\/how-to-learn-aem-debugging\/","name":"How to Learn AEM Debugging","isPartOf":{"@id":"https:\/\/cloudfoundation.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cloudfoundation.com\/blog\/how-to-learn-aem-debugging\/#primaryimage"},"image":{"@id":"https:\/\/cloudfoundation.com\/blog\/how-to-learn-aem-debugging\/#primaryimage"},"thumbnailUrl":"https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2025\/06\/3.jpg","datePublished":"2025-06-12T11:40:27+00:00","dateModified":"2025-06-12T11:55:39+00:00","author":{"@id":"https:\/\/cloudfoundation.com\/blog\/#\/schema\/person\/df6c7eba98f1bb15f2a100a9958266e4"},"breadcrumb":{"@id":"https:\/\/cloudfoundation.com\/blog\/how-to-learn-aem-debugging\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cloudfoundation.com\/blog\/how-to-learn-aem-debugging\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudfoundation.com\/blog\/how-to-learn-aem-debugging\/#primaryimage","url":"https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2025\/06\/3.jpg","contentUrl":"https:\/\/cloudfoundation.com\/blog\/wp-content\/uploads\/2025\/06\/3.jpg","width":500,"height":500},{"@type":"BreadcrumbList","@id":"https:\/\/cloudfoundation.com\/blog\/how-to-learn-aem-debugging\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cloudfoundation.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Learn AEM Debugging"}]},{"@type":"WebSite","@id":"https:\/\/cloudfoundation.com\/blog\/#website","url":"https:\/\/cloudfoundation.com\/blog\/","name":"CloudFoundation | Blog","description":"A New way of Learning","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cloudfoundation.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/cloudfoundation.com\/blog\/#\/schema\/person\/df6c7eba98f1bb15f2a100a9958266e4","name":"NAGENDRAG","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cloudfoundation.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/09e08ba1102807a876f2c00245d6b955f0a9f027b40c181e9cee0cd2d927f84a?s=96&d=wavatar&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/09e08ba1102807a876f2c00245d6b955f0a9f027b40c181e9cee0cd2d927f84a?s=96&d=wavatar&r=g","caption":"NAGENDRAG"},"url":"https:\/\/cloudfoundation.com\/blog\/author\/nagendrag\/"}]}},"_links":{"self":[{"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/posts\/102186","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/comments?post=102186"}],"version-history":[{"count":5,"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/posts\/102186\/revisions"}],"predecessor-version":[{"id":102203,"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/posts\/102186\/revisions\/102203"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/media\/102202"}],"wp:attachment":[{"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/media?parent=102186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/categories?post=102186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudfoundation.com\/blog\/wp-json\/wp\/v2\/tags?post=102186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}