Requirements
- The DirectGVR client binary (
host.exeorhost.app) - The CEF binaries and libraries next to
host.exeor insidehost.app - Your launcher skin
- Visual Studio Code 1.6 or newer, which includes the JavaScript Debugger
Set up the client and skin
Collecthost and the CEF files in a test folder as described in Test a launcher skin with the CEF debugging console. Note the path to your skin.
For React skins, start the Node web server first with npm run start or yarn run start, and note the port it shows.
Create launch.json
- In VS Code, open your skin folder.
- Select Run → Add Configuration → Chrome.
- Replace the generated code with the configuration for your setup below.
- Save the file as
launch.json. VS Code creates a.vscodefolder.
runtimeExecutable to the full path of the host executable and --skin to your skin folder. On macOS, the executable is inside the app at host.app/Contents/MacOS/host.
For React skins, change only the port in
--devserver to the one Node shows. Leave "port": 9222 as it is.
