Open a weex project created by VSCode extension or weex-toolkit.
Run the project under the VSCode debug panel.
You can also edit the configuration under the .vscode/launch.json.
Snapshot
Web
iOS
Result
Android
Result
Note
Run IOS or Android APP make sure you have added native project (Path of which you launch.json key projectPath set), you can use weex-new-project add native project
If the run fails, You can try to check the environment by weex-doctor
IOS Environmental dependence: xcode and open once
Android Environmental dependence: Android studio, Java SDK 1.8 (Windows need set Java home https://developer.android.com/studio/install?hl=zh-cn), Android SDK Platform 26 (Install by Android studio), Android SDK Build-Tools 26 (Install by Android studio), Android virtual device (Install by Android studio)
Debugging in the vscode editor breakpoint is not yet supported