Select a Fuchsia device using the Device Selector in the bottom toolbar:
Select "Show log for device name" from quick picker:
View the logs:
Run and debug tests
Select the "Testing" tab from the left navigation bar and view the list of
tests in your current build configuration:
Click the "Run Test" or "Debug Test" button to run or debug the test.
Double-click the test to jump to the BUILD.gn that defines the test.
Explore and debug components
Select the "Run and Debug" tab from the left navigtaion bar and expand the
"Fuchsia Components" panel to view the components running on the device:
Click the "Attach Debugger" button to attach the debugger to the component.
Set a breakpoint by clicking to the left of a line of source code to stop
the component on that line of code.
Click a component to show more information about that component.
Settings
FFX path
The FFX tool path can be set under Settings > Extensions > Fuchsia SDK.
If this path is not set, the extension will automatically search for it at:
./tools/ffx
./.jiri_root/bin/ffx
Tips
Set fx build as default build task
The default build task can be set under Terminal > Configure Default Build Task....
When set to fx build, the command can be run with Cmd+Shift+b on Mac
and Ctrl+Shift+b on Windows and Linux.