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.
| Property | Value |
|---|---|
| Surface | Overwolf Electron (ow-electron) |
| Minimum version | ow-electron-builder@26.9.0 and ow-electron@39.8.10 |
| Platform | Windows |
| When to use | Local development, before the app is signed or packaged |
| Credentials | New developers: OW_DEV_KEY from your dev.overwolf.com profile. After your app passes QA review: OW_CLI_EMAIL and OW_CLI_API_KEY from the Developer Console. See Which credentials you have. |
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.
Which credentials you have
Even in dev mode, you authenticate with Overwolf before gaming packages load. Which credential you use depends on where you are in the onboarding journey. Overwolf gives you two separate accounts at two different points, and each one gives you a different dev credential.
| dev.overwolf.com account | Developer Console account | |
|---|---|---|
| When you get it | When you sign up on dev.overwolf.com. | After your app passes the QA review. Overwolf creates it for you and onboards you to the console. |
| Dev credential it gives you | OW_DEV_KEY, generated from your profile once your Developer status is Approved. | OW_CLI_EMAIL (your console account email) and OW_CLI_API_KEY (generated in the console, under Profile > API Keys). |
| Where you log in | dev.overwolf.com | console.overwolf.com |
| What you use it for | Local development in dev mode. | Dev mode, App Signing, the Overwolf CLI, and managing your releases. |
If you only have a dev.overwolf.com account, you don't have a Developer Console account, an API key, or a console email yet. You don't need them to develop. Use OW_DEV_KEY from your dev.overwolf.com profile. See Option A: Developer key.
Your Developer Console account is a separate account from your dev.overwolf.com account. Overwolf sets it up for you only after you submit your app and it passes QA review.
The journey, in order:
- Sign up on dev.overwolf.com and submit your app idea.
- The DevRel team reviews your idea. Once approved, your Developer status changes from Pending to Approved.
- Generate
OW_DEV_KEYfrom your profile and develop your app locally in dev mode. - Submit your app for QA review using the submission form. You don't need Developer Console access to submit.
- After your app passes QA review, Overwolf creates your Developer Console account and onboards you to the Developer's Console. From then on, you can also use
OW_CLI_EMAILandOW_CLI_API_KEY.
If OW_DEV_KEY, OW_CLI_EMAIL, and OW_CLI_API_KEY are all absent, dev mode credential verification fails and gaming packages don't load. The app itself still runs.
Set up dev credentials
Use the option that matches the account you have. If both are set, the console credentials take precedence over OW_DEV_KEY. See Precedence order.
| Variable | Option | Source |
|---|---|---|
OW_DEV_KEY | A | Your dev.overwolf.com profile, once your Developer status is Approved. No Developer Console account needed. |
OW_CLI_EMAIL | B | Your Developer Console account email. Available after your app passes QA review. |
OW_CLI_API_KEY | B | The Developer Console, under Profile > API Keys. Available after your app passes QA review. |
Option A: Developer key (OW_DEV_KEY)
Use this option if you have a dev.overwolf.com account and your Developer status is Approved. You don't need a Developer Console account.
- If you haven't already, submit your app idea. The DevRel team reviews it manually. Once approved, you get an email and your Developer status on your profile changes from Pending to Approved.
- Log in to dev.overwolf.com.
- Open your profile and confirm Developer status shows Approved.
- Under Developer Key:
- No key yet: press Generate key.
- Renewing an existing key: press Extend. Extend stays disabled until you're close to the key's expiry. The text under the button tells you exactly when it unlocks.
- The key field is masked by default. Press the eye icon to reveal it, or press the copy icon to copy the value directly.
Set the value you copied as OW_DEV_KEY before launching your app in dev mode.
# Linux / macOS
export OW_DEV_KEY='<your-dev-token>'
# Windows (PowerShell)
$env:OW_DEV_KEY = '<your-dev-token>'
Launch your app with yarn start or npm start. To launch with the VS Code debugger (F5) instead, see Setting credentials in VS Code.
OW_DEV_KEY is equivalent to OW_CLI_EMAIL:OW_CLI_API_KEY for dev mode verification. It uses Bearer authentication instead of Key.
Option B: Console credentials (OW_CLI_EMAIL and OW_CLI_API_KEY)
Use this option if your app passed QA review and Overwolf onboarded you to the Developer Console. If you don't have a Developer Console account yet, use Option A: Developer key.
- Log in to the Developer Console with your console account.
- Open Profile and generate a key under API Keys. For more information, see Profile.
- Set your console account email as
OW_CLI_EMAILand the key asOW_CLI_API_KEYbefore 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.
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. Use the variables from the option you chose.
Option A (developer key):
{
"configurations": [
{
"name": "OW-Electron: Main Process",
"type": "node",
"request": "launch",
// …
"env": {
"OW_DEV_KEY": "<your-dev-token>"
}
}
]
}
Option B (console credentials):
{
"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.
Precedence order
OW_CLI_EMAIL env var (highest)
-> OW_CLI_API_KEY env var
-> OW_DEV_KEY env var (alternative path, not combined with the above)
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.
Why don't I have access to the Developer Console?
This is expected until your app passes QA review. The Developer Console account is separate from your dev.overwolf.com account, and Overwolf creates it for you after you submit your app and it passes QA review. Until then, use Option A: Developer key for dev mode.
Where do I find my API key and email?
OW_CLI_EMAIL and OW_CLI_API_KEY belong to your Developer Console account, not your dev.overwolf.com account. If you don't have a Developer Console account yet, you don't have them yet, and you don't need them for local development. Use OW_DEV_KEY from your dev.overwolf.com profile instead.
Why does my Developer status still show Pending?
Your app idea hasn't been approved yet, so you can't generate OW_DEV_KEY. Confirm you submitted your app idea. The DevRel team reviews each submission manually and emails you once it's approved.
Related pages
- App Signing, to sign your app so gaming packages load when distributed.
- Develop your app (Phase 2), the onboarding step that points here.
- Release your app (Phase 3), where you submit for QA review and get Developer Console access.
- Building your first app, for the dev-mode quick start.
- Overwolf Electron Technical Overview.