Skip to main content

Dev Mode

Run and test the gaming packages (GEP, Overlay, Recorder) during local development, before your app is signed or packaged.

To make those packages load in a build you distribute to users, see App Signing.

PropertyValue
SurfaceOverwolf Electron (ow-electron)
Minimum versionow-electron-builder@26.9.0 and ow-electron@39.8.10
PlatformWindows
When to useLocal development, before the app is signed or packaged
CredentialsOW_CLI_EMAIL and OW_CLI_API_KEY from the Developer Console. See Set up dev credentials.

What dev mode is​

Dev mode is a path in the package manager (owepm) that skips most production integrity checks. It is built for local development, before your app is signed and packaged.

Dev mode can't activate on a distributed or packaged app. If any condition is false, the app routes to the production validation path, where a missing or invalid signature stops gaming packages from loading. For that path, see App Signing.

Even in dev mode, you authenticate with Overwolf before the gaming packages load. If OW_CLI_EMAIL and OW_CLI_API_KEY are absent, dev mode credential verification fails and the gaming packages don't load. The app itself still runs.

Set up dev credentials​

Dev mode authenticates with your Developer Console account: the email you log in with, and an API key you generate in the console.

You get your console account when you complete onboarding. Submit your app idea, and once it's approved, generate your API key and start building.

You don't need to wait for QA review to develop locally. QA review unlocks releasing your app and listing it on the Overwolf App Store, neither of which you need for dev mode. For more information, see Release your app.

VariableValueSource
OW_CLI_EMAILYour Developer Console account email.The account you log in to the console with.
OW_CLI_API_KEYYour Developer Console API key.The Developer Console, under Profile > API Keys.
  1. Log in to the Developer Console, once your app idea is approved.
  2. Open Profile and generate a key under API Keys. For more information, see Profile.
  3. Set your console account email as OW_CLI_EMAIL and the key as OW_CLI_API_KEY before launching your app in dev mode.
# Linux / macOS
export OW_CLI_EMAIL=your-email@example.com
export OW_CLI_API_KEY=your-api-key-from-console
# Windows (PowerShell)
$env:OW_CLI_EMAIL = 'your-email@example.com'
$env:OW_CLI_API_KEY = 'your-api-key-from-console'

Use single quotes in PowerShell so it doesn't interpret the $ characters in the key.

Launch your app with yarn start or npm start. To launch with the VS Code debugger (F5) instead, see Setting credentials in VS Code.

The same credentials also authenticate App Signing and the Overwolf CLI.

The developer key is deprecated

OW_DEV_KEY, generated from a dev.overwolf.com profile, is deprecated. Existing keys keep working until they expire and can't be renewed. The dev.overwolf.com profile page they came from has been removed.

Move to OW_CLI_EMAIL and OW_CLI_API_KEY as described above. If Overwolf approved you before the deprecation and you don't have a Developer Console account yet, email your Overwolf Developer Relations contact.

Setting credentials in VS Code​

When you launch from the VS Code debugger (F5), the app doesn't inherit your terminal's environment, so variables you set in the terminal aren't picked up. Put the credentials in the debug configuration's env block instead.

{
"configurations": [
{
"name": "OW-Electron: Main Process",
"type": "node",
"request": "launch",
// …
"env": {
"OW_CLI_EMAIL": "your-email@example.com",
"OW_CLI_API_KEY": "your-api-key-from-console"
}
}
]
}

Other IDEs: the same principle applies. Set the variables in your IDE's run/debug configuration. The mechanism differs per IDE, but the requirement is identical: the variables must be set on the launched process's environment, because IDE launches don't read your shell.

If your launch.json config passes --owepm-packages-url as a launch argument, replace it with --owepm-package-channel. You request a dev or QA channel per package, and the package manager fetches that channel's build from the same production endpoint, so you no longer point your app at a different server:

--owepm-package-channel=gep:dev,overlay:dev

For the full API, see Package Channels.

Frequently asked questions​

What runs in dev mode?

With valid dev credentials, a dev-mode build runs the full gaming package set: GEP (game events), Overlay, Recorder. Without credentials, the app runs but the gaming packages don't load.

Where do I find my API key and email?

Both belong to your Developer Console account. OW_CLI_EMAIL is the email you log in to the console with, and you generate OW_CLI_API_KEY in the console under Profile > API Keys. For more information, see Profile.

The gaming packages don't load. What do I check?

Check that both OW_CLI_EMAIL and OW_CLI_API_KEY are set on the environment of the process you launched, not only in your shell. An IDE launch doesn't read your shell, so set them in the run configuration. See Setting credentials in VS Code.

If you were using OW_DEV_KEY, it's deprecated and stops working when it expires. Switch to your Developer Console credentials.