> ## Documentation Index
> Fetch the complete documentation index at: https://docs.directgvr.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Test a launcher skin with the CEF debugging console

> Load a launcher skin without recompiling and debug it with the Chromium developer tools.

You can load a launcher skin from the command line without recompiling the launcher, which helps with troubleshooting and UI design. You can also open the Chromium Embedded Framework (CEF) debugging console to find skin behavior, design and JavaScript problems.

> [!NOTE]
>
> The CEF debugging console only works when you load the skin with `--skin`. You can't use it with a compiled, signed launcher.

These steps assume the latest DirectGVR SDK, or the preconfigured SDK from your evaluation ticket. In the paths below, replace `<cef-version>` with the CEF version folder in your SDK. DIRECT 8 uses CEF 7559.

## Turn on CEF

Skip this if you only want to load the skin without the debugging console. In your skin folder, set `cef.enabled` to `true` in `app.yaml` or `app.json`:

```yaml theme={null}
cef:
  enabled: true
```

## Load the skin

We recommend collecting copies of the files you need in a separate `run` folder, so the originals stay intact.

> [tab] Windows
>
> You need `host.exe` (the unsigned client), the CEF libraries and your skin folder.
>
> 1. Copy `host.exe` from the SDK's `bin\win64\` folder to your `run` folder.
> 2. Copy every file in the SDK's `cef\<cef-version>\win64\` folder to your `run` folder.
> 3. Open a command prompt in the `run` folder and load your skin:
>
>    ```bash theme={null}
>    host.exe --skin=C:\path\to\skin --disablesecurity --debugfile --cef --devtools
>    ```

> [tab] macOS
>
> You need `host.app` (the unsigned client), the helper apps `host Helper.app`, `host Helper (Renderer).app` and `host Helper (GPU).app`, the CEF libraries and your skin folder.
>
> 1. Give these files execute permission, or the skin won't load:
>
>    ```bash theme={null}
>    chmod +x /path/to/sdk/bin/mac64/host.app/Contents/MacOS/host
>    chmod +x /path/to/sdk/bin/mac64/host.app/Contents/Frameworks/host\ Helper.app/Contents/MacOS/host\ Helper
>    chmod +x /path/to/sdk/bin/mac64/host.app/Contents/Frameworks/host\ Helper\ \(GPU\).app/Contents/MacOS/host\ Helper\ \(GPU\)
>    chmod +x /path/to/sdk/bin/mac64/host.app/Contents/Frameworks/host\ Helper\ \(Renderer\).app/Contents/MacOS/host\ Helper\ \(Renderer\)
>    chmod +x /path/to/sdk/cef/<cef-version>/mac64/Chromium\ Embedded\ Framework.framework/Chromium\ Embedded\ Framework
>    ```
>
> 2. Copy `host.app` from the SDK's `bin/mac64/` folder to your `run` folder.
>
> 3. In Finder, Control-click `host.app`, choose **Show Package Contents**, and create a folder named `Frameworks` in `Contents`. Folder names are case-sensitive.
>
> 4. Copy the helper apps from `bin/mac64/` into `host.app/Contents/Frameworks/`.
>
> 5. Copy `Chromium Embedded Framework.framework` from `cef/<cef-version>/mac64/` into `host.app/Contents/Frameworks/`.
>
> 6. In Terminal, load your skin:
>
>    ```bash theme={null}
>    host.app/Contents/MacOS/host --skin=/path/to/skin --disablesecurity --debug --cef --devtools
>    ```

## React skins

If your skin uses React and needs Node, use these arguments with DIRECT 6.1 or newer binaries:

* After `npm run build`, set `--skin` to the build folder, for example `--skin=c:\source\myskin\build`.
* After `npm run start`, set `--skin` to the public folder, for example `--skin=c:\source\myskin\public`, and set `--devserver` to the Node web server, for example `--devserver=http://127.0.0.1:3000/`.

## Related

* [Debug the CEF client with VS Code](https://docs.directgvr.com/troubleshooting/debug-with-vscode.md)
* [Core command line](https://docs.directgvr.com/reference/client-skin-system/core-command-line.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.