as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
Ring
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
感谢您的访问。此页面目前仅提供英语版本。我们正在开发中文版本。谢谢您的理解。

Debugging Web Apps with Vega Studio

Vega Studio is the integrated development environment (IDE) for Vega Apps. It integrates with Chrome DevTools (CDT) to attach and debug WebView apps. With CDT, you can inspect rendered HTML content and debug JavaScript by setting a break point, like an ordinary web app.

Use the following guide to set up a CDT debugging session using Vega Studio.

Prerequisites

  1. Install Visual Studio Code.
  2. Install Vega Studio extension (0.21 or later)

Steps to debug your Vega Web App

  1. Open your app with Vega Studio.
  2. Build a debug variant and launch it.
  3. Launch your app one of these two ways.
    1. Launch from command line.
    2. Tap the Play button on the Vega Studio side bar.

  4. Launch Chrome DevTools from Vega Studio
  5. Open the Vega Studio side bar and click "Chrome DevTools." Vega Studio side bar with Chrome DevTools option

  6. Notice the combo box to select the target runtime. Select WebView to debug HTML + JavaScript content running on WebView. Vega Studio combo box

  7. Chrome DevTools appears in the editor and attaches to the WebView runtime. You can inspect HTML and JavaScript source code, as well as set breakpoints in the JavaScript code. Vega Studio combo box

Last updated: Feb 19, 2026