Introducing LT Debug: A faster, efficient, and simple debugging Chrome extension
Tags: debugging, testing, chrome, extensions
Published: 2023-02-15 08:53:03


We leverage Debugging tools, otherwise known as debuggers, to identify if there is any coding error present at different development stages and [Software Testing Life Cycle (STLC)](https://www.lambdatest.com/blog/software-testing-life-cycle/?utm_source=devto&utm_medium=organic&utm_campaign=jfeb_15kj&utm_term=kj&utm_content=blog). We can utilize them to check and repeat the conditions where a bug was found. We can then take a deeper look at the program state at a particular time while identifying the cause.

Debugging plays an important role in ensuring that software developers, engineers, and testers can fix every error before they release it to the users. This process is complementary to testing, where you learn how an error has occurred to the program.

With all these factors in mind -Drum rolls- LambdaTest is back with a brand new extension called [LT Debug](https://www.lambdatest.com/lt-debug?utm_source=devto&utm_medium=organic&utm_campaign=jfeb_15kj&utm_term=kj&utm_content=webpage) to make the life of testers easy and fuss-free while debugging.

Following the success of our [responsive checker](https://www.lambdatest.com/responsive-checker?utm_source=devto&utm_medium=organic&utm_campaign=jfeb_15kj&utm_term=kj&utm_content=webpage) tools like [LT Browser](https://www.lambdatest.com/lt-browser?utm_source=devto&utm_medium=organic&utm_campaign=jfeb_15kj&utm_term=kj&utm_content=webpage), we are excited to reveal yet another tool that could make developers and testers dive into the abyss of debugging and stay afloat in testing.

## The story behind LT Debug

LambdaTest is a product company on its own. We can understand the pain of testers better than Michael Scott (Much better!). We have been in the field of [software testing](https://www.lambdatest.com/blog/the-golden-age-of-software-testing/?utm_source=devto&utm_medium=organic&utm_campaign=jfeb_15kj&utm_term=kj&utm_content=blog) and debugging for the past 5+ years. Our product at request team has kept their eyes, ears, and heart open to the testing community. They have listened to the requests of many awesome testers needing a debugging tool, Chrome extension.

The problem statement of testers worldwide is more or less the same when we talk about debugging. One of the most common [challenges faced by testers](https://www.lambdatest.com/blog/16-major-challanges-faced-by-testers-while-testing-a-web-application/?utm_source=devto&utm_medium=organic&utm_campaign=jfeb_15kj&utm_term=kj&utm_content=blog) is that they feel that debugging is directly proportional to long working hours with complex processes. It’s not always a cakewalk when you go to Google console to inject the test script. Paying a visit to the source code and changing it wouldn’t help much.

Now, here is a think tank: Is it easy to write a syntax and code or to write a syntax and fill the form?

The second option, obviously, right? That’s what made our team hop into brainstorming over many cups of coffee, take baby steps in product development, and finally, LT Debug is live!

This free [developer tool](https://www.lambdatest.com/developer-tools?utm_source=devto&utm_medium=organic&utm_campaign=jfeb_15kj&utm_term=kj&utm_content=blog) is simple-to-use with over nine amazing features used by web developers and testers during debugging on a day-by-day basis.

The coolest part is it’s available in **Dark Mode** with your system setup to ensure that even your little needs are taken care of by us. Now, get back to work without any strain. Just click on the sun and moon icon at the top right corner to activate them as per your choice.

![](https://cdn-images-1.medium.com/max/3788/0*4GaqPoXUBYsgrShe.png)

***Get started with this complete [Selenium](https://www.lambdatest.com/selenium?utm_source=devto&utm_medium=organic&utm_campaign=feb_15kj&utm_term=kj&utm_content=webpage) automation testing tutorial. Learn what Selenium is, its architecture, advantages and more for automated cross browser testing.***

## How to install LT Debug?

Installation of LT Debug is as simple as spelling your name. Here is our simple step-by-step installation process:

**Step 1:** Go to the [LT Debug Chrome Extension](https://www.lambdatest.com/lt-debug?utm_source=devto&utm_medium=organic&utm_campaign=jfeb_15kj&utm_term=kj&utm_content=webpage) page.

![](https://cdn-images-1.medium.com/max/3772/0*q4tssoc8m9b4KJre.png)

**Step 2:** Click **Add to Chrome**. You will be redirected to the Chrome web store.

![](https://cdn-images-1.medium.com/max/3794/0*RLt2PL8gGCglggnk.png)

**Step 3:** Click **Add to Chrome**. A pop-up will appear asking if you need to add “LT Debug” to your browser. Click on **Add extension**.

![](https://cdn-images-1.medium.com/max/3788/0*hSTgV9QCIG8lcWVK.png)

**Step 3:** All done! Now, you can choose the feature you want to add and debug.

![](https://cdn-images-1.medium.com/max/3786/0*MGFfTkMMEXsf_GAG.png)

Here is a gist of how to debug mobile browsers with our developer tools:

{% youtube SVpr_V3nwLI %}

Subscribe to the [LambdaTest YouTube channel](https://www.youtube.com/c/LambdaTest?sub_confirmation=1) to learn more about cross [browser compatibility](https://www.lambdatest.com/feature?utm_source=devto&utm_medium=organic&utm_campaign=jfeb_15kj&utm_term=kj&utm_content=webpage), [real time testing](https://www.youtube.com/watch?v=zKspUbraT-c&t=1s?utm_source=devto&utm_medium=organic&utm_campaign=jfeb_15kj&utm_term=kj&utm_content=webpage), and [responsiveness testing](https://www.lambdatest.com/responsive-test-online?utm_source=devto&utm_medium=organic&utm_campaign=jfeb_15kj&utm_term=kj&utm_content=webpage).

***Run your [Playwright](https://www.lambdatest.com/playwright?utm_source=devto&utm_medium=organic&utm_campaign=feb_15kj&utm_term=kj&utm_content=webpage) test scripts instantly on 50+ browser and OS combinations using the LambdaTest cloud.***

## Top features of LT Debug

So far, we have nine features for our most loved tribe of testers and developers. Let’s take you through a tour:

## Add/Modify Headers

With this feature, you can add, remove or modify the header, be it a request header or a response header. This way, you can easily test a header for a website request.

How to do it?

**Step 1:** Click on **Modify Headers**. Provide the needed values to modify the request header. Input the URL value and click **Save**.

![](https://cdn-images-1.medium.com/max/3840/0*0cC-zsAAyhrVYuI_.png)

**Step 2:** You can directly notice that the changes have been implemented on the request header value by clicking on the three dotted lines at the right corner of the screen of your Chrome browser. Go to **More tools -> Developer tools-> Network-> Headers** and click on the website source you need to test.

![](https://cdn-images-1.medium.com/max/3200/0*3XKllZPxwmtwiNHx.png)

## Block Requests

LT Debug offers a feature to block HTTP requests based on your specific URL filter conditions. With this feature, you can easily filter URL requests as and when you like.

**Step 1:** Go to Block Requests. Type the exact URL or URL with a specific word. E.g: For lambdatest.com, you can just provide lambdatest. That would suffice. Click on **Save**.

![](https://cdn-images-1.medium.com/max/3786/0*vXAxDa8c-xTZfokU.png)

**Step 2:** Now, the URL will have got blocked when you try to visit the website.

![](https://cdn-images-1.medium.com/max/3800/0*Z1BRQf81XxEunl8Z.png)

## Throttle Response

With this feature, you can efficiently perform [network throttling](https://www.lambdatest.com/blog/test-mobile-websites-on-different-network-conditions/?utm_source=devto&utm_medium=organic&utm_campaign=jfeb_15kj&utm_term=kj&utm_content=blog) to control network speed for every network request. Choose the URL of your choice when you want to reduce the speed or function at normal speed. You can also control if there is any millisecond delay.

Easily emulate network speed based on the use case without diving into Chrome element inspector. Not every user would have access to 4G or 5G. You can also try checking your website performance in a slow 3G network to understand how it performs in such geographical areas.

Here is how to try it:

**Step 1:** Open the LT Debug Chrome Extension tab. Click on **Throttle Response**.

![](https://cdn-images-1.medium.com/max/3794/0*GhzRMkBp7zBOu7Lz.png)

**Step 2:** Provide your network type and URL. For example, you can try slow 3G.

![](https://cdn-images-1.medium.com/max/3788/0*-5NZZJvw6_lgj0ko.png)

**Step 2:** You can check for the performance under Slow 3G by visiting the website.

***Run your [Jest](https://www.lambdatest.com/jest?utm_source=devto&utm_medium=organic&utm_campaign=feb_15kj&utm_term=kj&utm_content=webpage) automation tests in massive parallel across multiple browser and OS combinations with LambdaTest.***

## Add/Remove Query Param

With this feature, you can simply change and modify the URL query parameters. The function of URL parameters is to read and organize the key, along with the value pairs present on the particular web page. This can simplify your debugging experience.

**Step 1:** Check out by adding a query param with key Param Name as Par 1 and the Param Value as Val 1 to URLs containing the word “lambdatest”. This will redirect you to the needed page whenever you visit the URL with the value “lambdatest” in it.

![](https://cdn-images-1.medium.com/max/3784/0*0UpiIhtr3KnbAwch.png)

**Step 2:** Visit lambdatest.com to witness the changes reflected on the query parameter, right from the header.

![](https://cdn-images-1.medium.com/max/3796/0*9oXAAslVaHmPR6xR.png)

## Redirect Requests

Use the **redirect request** tool when you want to configure a URL to redirect them to your preferred web URL.

**Step 1:** Provide the URL value that needs to be changed to the URL value where you need to redirect it.

![](https://cdn-images-1.medium.com/max/3792/0*80mCNg7n1zziNdmI.png)

**Step 2:** You can see that when you try to visit lambdatest.com, you are redirected to lambdatest.com/blog.

***Perform browser [automation testing](https://www.lambdatest.com/automation-testing?utm_source=devto&utm_medium=organic&utm_campaign=feb_15kj&utm_term=kj&utm_content=webpage) on the most powerful cloud infrastructure. Leverage LambdaTest automation testing for faster, reliable and scalable experience on cloud.***

## Change User Agent

Are you in need of [cross browser testing](https://www.lambdatest.com/?utm_source=devto&utm_medium=organic&utm_campaign=jfeb_15kj&utm_term=kj&utm_content=webpage)? You can easily switch between different user-agent strings in a faster manner. Simulate, imitate and spoof different browsers, devices and search engine spiders according to your choice.

**Step 1:** For instance, let’s test our website on the Chrome browser on Windows 10. You can also check for the user agent by **More tools -> Developer tools-> Network-> Headers**. Scroll down to find the user agent at the end.
This is the user agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36 [ip:37.163.61.154]

![](https://cdn-images-1.medium.com/max/3200/0*cdCxQO6YRELA6HRa.png)

**Step 2:** Let’s say you want to [test on Internet Explorer](https://www.lambdatest.com/test-on-internet-explorer-browsers?utm_source=devto&utm_medium=organic&utm_campaign=jfeb_15kj&utm_term=kj&utm_content=webpage) 8 on Windows XP.
Here is the user agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0).

All you need to do is provide the **user agent string** of the browser and OS in the form.

![](https://cdn-images-1.medium.com/max/3772/0*HOADrOB6wJ-0UAWK.png)

**Step 3:** Now, perform the same mentioned in Step 1 to check if the user agent is reflected. Bingo! It has indeed been reflected on the page. Now you can perform cross browser testing just by entering the user agent string. No need to code or write a test script!

![](https://cdn-images-1.medium.com/max/3200/0*brarrdtoDkJAG6oR.png)

***Try an online [Selenium Testing](https://www.lambdatest.com/selenium-automation?utm_source=devto&utm_medium=organic&utm_campaign=feb_15kj&utm_term=kj&utm_content=webpage) Grid to run your browser automation testing scripts. Our cloud infrastructure has 3000+ desktop & mobile environments. Try for free.)***

## Insert Scripts (CSS/JS)

Easily simulate the web page experience as soon as you inject the CSS or JS script on your own in the console.

**Step 1:** Do you want to test your favorite color as the background color of your website? Let’s provide the CSS code for the same in the form:

body {background-color:blue}

![](https://cdn-images-1.medium.com/max/3794/0*VSK_hdzo6f4wqbU0.png)

**Step 2:** Whiz-a-whiz! The background color has changed successfully.

![](https://cdn-images-1.medium.com/max/3794/0*2mp1K0CDbOmamF4A.png)

## Allow CORS

If you want to perform cross-domain Ajax requests in websites and web apps faster, all you need to do is add the (Access-Control-Allow-Origin: *) rule to your response header. For example, you can easily bypass CORS on lambdatest.com when you turn it on while accessing the resources.

**Step 1:** All you need to do is provide the URL value.

![](https://cdn-images-1.medium.com/max/3790/0*z7-ck3nwoKgTkuC8.png)

**Step 2:** Click on the three dotted lines at the right corner of the screen of your Chrome browser. Go to **More tools -> Developer tools-> Network-> Headers** to check if the rule has been implemented on the response header.

![](https://cdn-images-1.medium.com/max/3802/0*DjnKk2yNGs0sP8BC.png)

## Content Security Policy

This feature allows you to remove the content security policy header on any website/web page of your choice.

**Step 1:** Click on the three dotted lines at the right corner of the screen of your Chrome browser. Go to **More tools -> Developer tools-> Console**. You can see that there is a content blocker due to security policy violations.

![](https://cdn-images-1.medium.com/max/3810/0*YzQALG1WWRfUi8SQ.png)

**Step 2:** Click on **Content Security Policy**. Provide the URL value where you need to remove the content blocker.

![](https://cdn-images-1.medium.com/max/3792/0*Rr7p3bIbq6qgWb_r.png)

**Step 3:** Now, you can again visit the **Console** tab to check if the blocker has been removed. In our case, it’s a yes!

![](https://cdn-images-1.medium.com/max/3200/0*D5ORfQ2WT0vh9fJw.png)

***Run [Appium](https://www.lambdatest.com/appium-mobile-testing?utm_source=devto&utm_medium=organic&utm_campaign=feb_15kj&utm_term=kj&utm_content=webpage) mobile testing of native and web apps. Improve your app quality with instant access to real devices on LambdaTest. Register now for free.***

## Why should you use LT Debug?

Even though there are many Debugging tools in the market, the tools built with the user in mind emerge as the winner. We believe we are one among them!

Here are the top reasons to trust our LT Debug browser extension:

* It’s free of cost forever.

* All you need to do is fill out a form and complete your debugging.

* You get a link to access 100+ extensions, exclusively for developers and testers, by developers and testers.

Here is how you do it:

**Step 1:** Click on **More Tools.**

![](https://cdn-images-1.medium.com/max/3200/0*U0gJ1WRbQ6QCTz5n.png)

**Step 2:** You will be redirected to our [free online tools](https://www.lambdatest.com/free-online-tools?utm_source=devto&utm_medium=organic&utm_campaign=jfeb_15kj&utm_term=kj&utm_content=webpage) page. Pick a tool of your choice.

![](https://cdn-images-1.medium.com/max/3200/0*w13fdjbqygKcQZej.png)

**Step 3:** You set the rules and break them! Go to **Manage Rules** to view and modify the rules.

![](https://cdn-images-1.medium.com/max/3200/0*WWcU1eDWr5o9nESO.png)

## Is there any other way to debug using LambdaTest apart from LT Debug?

Yes, of course! Follow these simple steps to debug your website using “Real Time Test”.

**Step 1:** Signup and Login into your LambdaTest account. Go to **Real Time Testing** from the left navigation menu. Choose the test configuration from a list of browsers, devices, versions, OS, screen resolution, and so on.

![](https://cdn-images-1.medium.com/max/3200/0*PaKuO2DBu1DEazUw.png)

**Step 2:** Provide the URL of your choice.

![](https://cdn-images-1.medium.com/max/3200/0*wfJV0vr2ALabaysc.png)

**Step 3:** Right-click your mouse pointer and choose **Inspect.**

![](https://cdn-images-1.medium.com/max/3200/0*Ht2Q7kTaieOKskby.png)

**Step 4: **After that, you can inspect the website as per your needs.

![](https://cdn-images-1.medium.com/max/3200/0*nzdba54oeajDxrLe.png)

## Can I use LT Debug on a different browser other than Chrome?

Right now, we support only the Chrome extension. But don’t worry, we have got you covered through our [online browser testing](https://www.lambdatest.com/online-browser-testing?utm_source=devto&utm_medium=organic&utm_campaign=jfeb_15kj&utm_term=kj&utm_content=webpage) feature.

**Step 1:** Login to your LambdaTest account. Go to **Real Time Testing** from the left navigation menu. Choose the test configuration from a list of browsers, devices, versions, OS, screen resolution, and so on.

![](https://cdn-images-1.medium.com/max/3200/0*rpCcGibBRHIhIdGQ.png)

**Step 2:** Provide the URL of your choice. Click **START**.

![](https://cdn-images-1.medium.com/max/3200/0*J345ziDPkY0P-cta.png)

**Step 3:** Go to the **LT Debug page** on the **Chrome web store**. Copy the URL.

![](https://cdn-images-1.medium.com/max/3200/0*6a0FJ7Eh8PzVy6K2.png)

**Step 4:** Now, click the Chrome Extension icon and add the URL link. All set! Now you can use our real time [live testing](https://www.lambdatest.com/live-testing?utm_source=devto&utm_medium=organic&utm_campaign=jfeb_15kj&utm_term=kj&utm_content=webpage) platform to add and use the LT Debug Chrome extension from any browser of your own, be it Safari or Opera.

![](https://cdn-images-1.medium.com/max/3200/0*Ywv4YRWmwnK_iPar.png)

## Conclusion

Debugging would no longer be an arduous task for web developers and testers. It’s going to be simpler, fun-filled, and flexible when you use LT Debug to fast-track your work. You can also depend on our 100+ extensions if you want to make your testing life seamless. Depend on our [online browser farm](https://www.lambdatest.com/online-browser-farm?utm_source=devto&utm_medium=organic&utm_campaign=jfeb_15kj&utm_term=kj&utm_content=webpage) to perform [Selenium automation tests](https://www.lambdatest.com/selenium-automation?utm_source=devto&utm_medium=organic&utm_campaign=jfeb_15kj&utm_term=kj&utm_content=webpage) and cross browsing tests in over 3000+ browsers, OS, and devices.

Visit our learning hub for more insights on testing with our [automation testing tutorial](https://www.lambdatest.com/learning-hub/automation-testing?utm_source=devto&utm_medium=organic&utm_campaign=jfeb_15kj&utm_term=kj&utm_content=learning_hub) and [mobile app testing](https://www.lambdatest.com/learning-hub/mobile-app-testing?utm_source=devto&utm_medium=organic&utm_campaign=jfeb_15kj&utm_term=kj&utm_content=learning_hub).

Happy testing!