{"id":1040,"date":"2025-05-12T07:01:56","date_gmt":"2025-05-12T07:01:56","guid":{"rendered":"https:\/\/www.wordpress-prod.sharpener.tech\/?p=1040"},"modified":"2025-05-12T07:03:19","modified_gmt":"2025-05-12T07:03:19","slug":"debugging-in-node-js","status":"publish","type":"post","link":"https:\/\/www.sharpener.tech\/blog\/debugging-in-node-js\/","title":{"rendered":"Debugging in Node JS"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/www.wordpress-prod.sharpener.tech\/wp-content\/uploads\/2025\/05\/Debugging-in-Node-JS-1024x683.jpg\" alt=\"\" class=\"wp-image-1043\" srcset=\"https:\/\/sharpener-wordpress.s3.ap-south-1.amazonaws.com\/blog\/wp-content\/uploads\/2025\/05\/12070142\/Debugging-in-Node-JS-1024x683.jpg 1024w, https:\/\/sharpener-wordpress.s3.ap-south-1.amazonaws.com\/blog\/wp-content\/uploads\/2025\/05\/12070142\/Debugging-in-Node-JS-300x200.jpg 300w, https:\/\/sharpener-wordpress.s3.ap-south-1.amazonaws.com\/blog\/wp-content\/uploads\/2025\/05\/12070142\/Debugging-in-Node-JS-768x512.jpg 768w, https:\/\/sharpener-wordpress.s3.ap-south-1.amazonaws.com\/blog\/wp-content\/uploads\/2025\/05\/12070142\/Debugging-in-Node-JS.jpg 1536w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Hello everyone. My name is Julian and today we will understand how we can debug our code in Node JS. For understanding it better<br>Let\u2019s go with a story about a bakery that recently opened and is gaining popularity.<br>However, the head baker, Ishita, has noticed that not everything is running smoothly.<br>Each day, there\u2019s an unexpected issue with orders, recipes, or equipment, causing delays and unhappy customers.<br>Ishita realizes she has to investigate each problem type carefully to keep her bakery running smoothly.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Types of &#8220;Errors&#8221; in Ishita&#8217;s Bakery<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Recipe Mistakes (Syntax Errors)<\/strong>:\n<ul class=\"wp-block-list\">\n<li>One day, Ishita notices the brownies are coming out too hard. After checking, she realizes the recipe card has a typo that says \u201c1 cup flour\u201d instead of \u201c\u00bd cup flour.\u201d<\/li>\n\n\n\n<li>This is similar to a <strong>syntax error<\/strong> in programming, where a small mistake in code structure, like a missing bracket or incorrect keyword, can throw off the whole program.<br><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Missing Ingredients (Runtime Errors)<\/strong>:\n<ul class=\"wp-block-list\">\n<li>On another day, Ishita starts making a batch of cookies but realizes halfway through that they\u2019ve run out of chocolate chips.<\/li>\n\n\n\n<li>This is like a <strong>runtime error<\/strong> in programming, where an error arises while the program is running, often due to missing data or variables that aren&#8217;t available when expected.<br><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Flavor Issues (Logical Errors)<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Ishita follows a recipe but keeps getting complaints that the muffins taste bitter. She reviews her steps and finds she\u2019s been adding baking soda twice, once at the beginning and again by mistake.<\/li>\n\n\n\n<li>This is similar to a <strong>logical error<\/strong> in code, where the program runs but produces the wrong results because of flawed logic or incorrect calculations.<br><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Ingredient Mix-up (Type Errors)<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Another day, Ishita accidentally grabs salt instead of sugar for a batch of cupcakes. The cupcakes bake fine, but they taste terrible.<\/li>\n\n\n\n<li>This reflects a <strong>type error<\/strong> in programming, where an operation fails because the wrong data type is used\u2014like trying to add a string to a number.<br><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Oven Problems (System Errors)<\/strong>:\n<ul class=\"wp-block-list\">\n<li>One morning, the bakery\u2019s oven won\u2019t heat up properly, and everything is baking slower than expected, throwing off the whole day\u2019s schedule.<\/li>\n\n\n\n<li>This is like a <strong>system error<\/strong> in programming, where external issues like file permissions, network problems, or system limitations interfere with the program\u2019s ability to run smoothly.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Why is Debugging Important in Ishita\u2019s Bakery?<\/strong><strong><br><\/strong><br>Just like Ishita needs to find and fix each type of error to keep her bakery running efficiently, debugging in programming is essential for identifying and resolving issues that disrupt code functionality. Each type of error requires careful attention to ensure everything &#8220;bakes&#8221; just right!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now that we understand the types of errors, we can explore specific debugging techniques in Node.js. Should we start with simple techniques like console.log to catch errors?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>NodeJS implementaion:<\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Task Breakdown<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Example of Form Submission with Logical Error<\/strong>\n<ul class=\"wp-block-list\">\n<li>Let\u2019s look at a form submission example where a logical error is causing the wrong message to be written into a text file. The code might seem correct at first glance, but when we test it, the output doesn\u2019t match our expectations.<br><br><br><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Using Breakpoints and Step Over<\/strong>\n<ul class=\"wp-block-list\">\n<li>To trace the root cause of this error, we\u2019ll set breakpoints at specific points in the code. Breakpoints pause the execution, allowing us to examine the program state at that moment.<\/li>\n\n\n\n<li>By using the \u201cStep Over\u201d feature, we can move through each function call one step at a time, checking the flow and data to pinpoint where the error is occurring. This process helps us see if any logic is misdirected or if values aren\u2019t updating as expected.<\/li>\n\n\n\n<li><strong>-Show Error in split function&nbsp;<\/strong><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Modifying Values During Debugging<\/strong>\n<ul class=\"wp-block-list\">\n<li>A powerful feature in the debugger is the ability to change variable values on the spot.<br>By adjusting values directly in the debugger, we can see how different inputs impact the program\u2019s behavior, helping us confirm and correct issues without restarting the program.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><br><strong>Conclusion<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Debugging is essential for fixing issues in code, similar to how Ishita resolves problems in her bakery.<\/li>\n\n\n\n<li>In Node.js, we used:\n<ul class=\"wp-block-list\">\n<li><strong>Breakpoints<\/strong> to pause and inspect code in real-time.<\/li>\n\n\n\n<li><strong>Step Over<\/strong> to trace the function flow step-by-step.<\/li>\n\n\n\n<li><strong>Modifying values mid-debug<\/strong> to test and confirm fixes instantly.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>These techniques help us catch and correct errors efficiently, ensuring our programs function smoothly.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Hello everyone. My name is Julian and today we will understand how we can debug our code in Node JS. For understanding it betterLet\u2019s go with a story about a&hellip;<\/p>\n","protected":false},"author":6,"featured_media":1043,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"class_list":["post-1040","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Debugging in Node.js | Step-by-Step Guide to Troubleshoot and Fix Errors<\/title>\n<meta name=\"description\" content=\"Master debugging in Node.js with this comprehensive guide. Learn how to use built-in tools like console.log, debugging scripts, and the Node.js debugger to find and fix issues efficiently.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sharpener.tech\/blog\/debugging-in-node-js\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Debugging in Node.js | Step-by-Step Guide to Troubleshoot and Fix Errors\" \/>\n<meta property=\"og:description\" content=\"Master debugging in Node.js with this comprehensive guide. Learn how to use built-in tools like console.log, debugging scripts, and the Node.js debugger to find and fix issues efficiently.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sharpener.tech\/blog\/debugging-in-node-js\/\" \/>\n<meta property=\"og:site_name\" content=\"Sharpener Tech\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-12T07:01:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-12T07:03:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/sharpener-wordpress.s3.ap-south-1.amazonaws.com\/blog\/wp-content\/uploads\/2025\/05\/12070142\/Debugging-in-Node-JS.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1536\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Julian Toppo\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Julian Toppo\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.sharpener.tech\\\/blog\\\/debugging-in-node-js\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sharpener.tech\\\/blog\\\/debugging-in-node-js\\\/\"},\"author\":{\"name\":\"Julian Toppo\",\"@id\":\"https:\\\/\\\/www.sharpener.tech\\\/blog\\\/#\\\/schema\\\/person\\\/eb9482df421e52d30f961eae8a0fd67a\"},\"headline\":\"Debugging in Node JS\",\"datePublished\":\"2025-05-12T07:01:56+00:00\",\"dateModified\":\"2025-05-12T07:03:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sharpener.tech\\\/blog\\\/debugging-in-node-js\\\/\"},\"wordCount\":725,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.sharpener.tech\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sharpener.tech\\\/blog\\\/debugging-in-node-js\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/sharpener-wordpress.s3.ap-south-1.amazonaws.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/12070142\\\/Debugging-in-Node-JS.jpg\",\"articleSection\":[\"Tips\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.sharpener.tech\\\/blog\\\/debugging-in-node-js\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sharpener.tech\\\/blog\\\/debugging-in-node-js\\\/\",\"url\":\"https:\\\/\\\/www.sharpener.tech\\\/blog\\\/debugging-in-node-js\\\/\",\"name\":\"Debugging in Node.js | Step-by-Step Guide to Troubleshoot and Fix Errors\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sharpener.tech\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sharpener.tech\\\/blog\\\/debugging-in-node-js\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sharpener.tech\\\/blog\\\/debugging-in-node-js\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/sharpener-wordpress.s3.ap-south-1.amazonaws.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/12070142\\\/Debugging-in-Node-JS.jpg\",\"datePublished\":\"2025-05-12T07:01:56+00:00\",\"dateModified\":\"2025-05-12T07:03:19+00:00\",\"description\":\"Master debugging in Node.js with this comprehensive guide. Learn how to use built-in tools like console.log, debugging scripts, and the Node.js debugger to find and fix issues efficiently.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.sharpener.tech\\\/blog\\\/debugging-in-node-js\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sharpener.tech\\\/blog\\\/debugging-in-node-js\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.sharpener.tech\\\/blog\\\/debugging-in-node-js\\\/#primaryimage\",\"url\":\"https:\\\/\\\/sharpener-wordpress.s3.ap-south-1.amazonaws.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/12070142\\\/Debugging-in-Node-JS.jpg\",\"contentUrl\":\"https:\\\/\\\/sharpener-wordpress.s3.ap-south-1.amazonaws.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/12070142\\\/Debugging-in-Node-JS.jpg\",\"width\":1536,\"height\":1024},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sharpener.tech\\\/blog\\\/debugging-in-node-js\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sharpener.tech\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Debugging in Node JS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.sharpener.tech\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.sharpener.tech\\\/blog\\\/\",\"name\":\"Sharpener Tech\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.sharpener.tech\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.sharpener.tech\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.sharpener.tech\\\/blog\\\/#organization\",\"name\":\"Sharpener Tech\",\"url\":\"https:\\\/\\\/www.sharpener.tech\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.sharpener.tech\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/wordpress-prod.sharpener.tech\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/Sharpener_logo-removebg-preview.png\",\"contentUrl\":\"https:\\\/\\\/wordpress-prod.sharpener.tech\\\/wp-content\\\/uploads\\\/2026\\\/05\\\/Sharpener_logo-removebg-preview.png\",\"width\":187,\"height\":62,\"caption\":\"Sharpener Tech\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sharpener.tech\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.sharpener.tech\\\/blog\\\/#\\\/schema\\\/person\\\/eb9482df421e52d30f961eae8a0fd67a\",\"name\":\"Julian Toppo\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/87799fed7134aa3bb27606b4eceeb577117023517d38b0152340c9e59376052c?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/87799fed7134aa3bb27606b4eceeb577117023517d38b0152340c9e59376052c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/87799fed7134aa3bb27606b4eceeb577117023517d38b0152340c9e59376052c?s=96&d=mm&r=g\",\"caption\":\"Julian Toppo\"},\"url\":\"https:\\\/\\\/www.sharpener.tech\\\/blog\\\/author\\\/julian\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Debugging in Node.js | Step-by-Step Guide to Troubleshoot and Fix Errors","description":"Master debugging in Node.js with this comprehensive guide. Learn how to use built-in tools like console.log, debugging scripts, and the Node.js debugger to find and fix issues efficiently.","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:\/\/www.sharpener.tech\/blog\/debugging-in-node-js\/","og_locale":"en_US","og_type":"article","og_title":"Debugging in Node.js | Step-by-Step Guide to Troubleshoot and Fix Errors","og_description":"Master debugging in Node.js with this comprehensive guide. Learn how to use built-in tools like console.log, debugging scripts, and the Node.js debugger to find and fix issues efficiently.","og_url":"https:\/\/www.sharpener.tech\/blog\/debugging-in-node-js\/","og_site_name":"Sharpener Tech","article_published_time":"2025-05-12T07:01:56+00:00","article_modified_time":"2025-05-12T07:03:19+00:00","og_image":[{"width":1536,"height":1024,"url":"https:\/\/sharpener-wordpress.s3.ap-south-1.amazonaws.com\/blog\/wp-content\/uploads\/2025\/05\/12070142\/Debugging-in-Node-JS.jpg","type":"image\/jpeg"}],"author":"Julian Toppo","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Julian Toppo","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sharpener.tech\/blog\/debugging-in-node-js\/#article","isPartOf":{"@id":"https:\/\/www.sharpener.tech\/blog\/debugging-in-node-js\/"},"author":{"name":"Julian Toppo","@id":"https:\/\/www.sharpener.tech\/blog\/#\/schema\/person\/eb9482df421e52d30f961eae8a0fd67a"},"headline":"Debugging in Node JS","datePublished":"2025-05-12T07:01:56+00:00","dateModified":"2025-05-12T07:03:19+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sharpener.tech\/blog\/debugging-in-node-js\/"},"wordCount":725,"commentCount":0,"publisher":{"@id":"https:\/\/www.sharpener.tech\/blog\/#organization"},"image":{"@id":"https:\/\/www.sharpener.tech\/blog\/debugging-in-node-js\/#primaryimage"},"thumbnailUrl":"https:\/\/sharpener-wordpress.s3.ap-south-1.amazonaws.com\/blog\/wp-content\/uploads\/2025\/05\/12070142\/Debugging-in-Node-JS.jpg","articleSection":["Tips"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.sharpener.tech\/blog\/debugging-in-node-js\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.sharpener.tech\/blog\/debugging-in-node-js\/","url":"https:\/\/www.sharpener.tech\/blog\/debugging-in-node-js\/","name":"Debugging in Node.js | Step-by-Step Guide to Troubleshoot and Fix Errors","isPartOf":{"@id":"https:\/\/www.sharpener.tech\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sharpener.tech\/blog\/debugging-in-node-js\/#primaryimage"},"image":{"@id":"https:\/\/www.sharpener.tech\/blog\/debugging-in-node-js\/#primaryimage"},"thumbnailUrl":"https:\/\/sharpener-wordpress.s3.ap-south-1.amazonaws.com\/blog\/wp-content\/uploads\/2025\/05\/12070142\/Debugging-in-Node-JS.jpg","datePublished":"2025-05-12T07:01:56+00:00","dateModified":"2025-05-12T07:03:19+00:00","description":"Master debugging in Node.js with this comprehensive guide. Learn how to use built-in tools like console.log, debugging scripts, and the Node.js debugger to find and fix issues efficiently.","breadcrumb":{"@id":"https:\/\/www.sharpener.tech\/blog\/debugging-in-node-js\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sharpener.tech\/blog\/debugging-in-node-js\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.sharpener.tech\/blog\/debugging-in-node-js\/#primaryimage","url":"https:\/\/sharpener-wordpress.s3.ap-south-1.amazonaws.com\/blog\/wp-content\/uploads\/2025\/05\/12070142\/Debugging-in-Node-JS.jpg","contentUrl":"https:\/\/sharpener-wordpress.s3.ap-south-1.amazonaws.com\/blog\/wp-content\/uploads\/2025\/05\/12070142\/Debugging-in-Node-JS.jpg","width":1536,"height":1024},{"@type":"BreadcrumbList","@id":"https:\/\/www.sharpener.tech\/blog\/debugging-in-node-js\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sharpener.tech\/blog\/"},{"@type":"ListItem","position":2,"name":"Debugging in Node JS"}]},{"@type":"WebSite","@id":"https:\/\/www.sharpener.tech\/blog\/#website","url":"https:\/\/www.sharpener.tech\/blog\/","name":"Sharpener Tech","description":"","publisher":{"@id":"https:\/\/www.sharpener.tech\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sharpener.tech\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.sharpener.tech\/blog\/#organization","name":"Sharpener Tech","url":"https:\/\/www.sharpener.tech\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.sharpener.tech\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/wordpress-prod.sharpener.tech\/wp-content\/uploads\/2026\/05\/Sharpener_logo-removebg-preview.png","contentUrl":"https:\/\/wordpress-prod.sharpener.tech\/wp-content\/uploads\/2026\/05\/Sharpener_logo-removebg-preview.png","width":187,"height":62,"caption":"Sharpener Tech"},"image":{"@id":"https:\/\/www.sharpener.tech\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.sharpener.tech\/blog\/#\/schema\/person\/eb9482df421e52d30f961eae8a0fd67a","name":"Julian Toppo","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/87799fed7134aa3bb27606b4eceeb577117023517d38b0152340c9e59376052c?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/87799fed7134aa3bb27606b4eceeb577117023517d38b0152340c9e59376052c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/87799fed7134aa3bb27606b4eceeb577117023517d38b0152340c9e59376052c?s=96&d=mm&r=g","caption":"Julian Toppo"},"url":"https:\/\/www.sharpener.tech\/blog\/author\/julian\/"}]}},"_links":{"self":[{"href":"https:\/\/www.sharpener.tech\/blog\/wp-json\/wp\/v2\/posts\/1040","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sharpener.tech\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sharpener.tech\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sharpener.tech\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sharpener.tech\/blog\/wp-json\/wp\/v2\/comments?post=1040"}],"version-history":[{"count":2,"href":"https:\/\/www.sharpener.tech\/blog\/wp-json\/wp\/v2\/posts\/1040\/revisions"}],"predecessor-version":[{"id":1045,"href":"https:\/\/www.sharpener.tech\/blog\/wp-json\/wp\/v2\/posts\/1040\/revisions\/1045"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sharpener.tech\/blog\/wp-json\/wp\/v2\/media\/1043"}],"wp:attachment":[{"href":"https:\/\/www.sharpener.tech\/blog\/wp-json\/wp\/v2\/media?parent=1040"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sharpener.tech\/blog\/wp-json\/wp\/v2\/categories?post=1040"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sharpener.tech\/blog\/wp-json\/wp\/v2\/tags?post=1040"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}