---
title: removeDebug
slug: js-api/removedebug
description: Overview of the Monetate JavaScript API removeDebug method and how to use it
image:  https://archbee-image-uploads.s3.amazonaws.com/ceIfEvQHzQk1IVxoRWUh7/K9eTL4jKm7UQINb6zNziJ-20250912-181225.png
docTags: 
createdAt: 2024-04-30T18:26:01.657Z
---

:::CodeblockTabs
removeDebug Method

```javascript
// removeDebug Method
window.monetateQ.removeDebug()
```
:::

Use the `removeDebug` method to disable debugging for the Monetate JavaScript API if you previously enabled it with the [setDebug method](docId\:iCBq4WKfQA5oNaSrDBfEh). Calling the `removeDebug` method removes the debug cookie and reloads the current page.

