Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Rockett ViewerNew to Visual Studio Code? Get it now.
Rockett Viewer

Rockett Viewer

Wayne S Rockett

|
2,940 installs
| (0) | Free
| Sponsor
Mobile phone viewer
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Rockett Viewer

Run your dev server inside a tab within VS Code, simulating a mobile phone.

Your code runs in the phone screen

A select of device types are available, including a user defined device, for which you can define the width and height in settings. You can use the user defined device to simulate landscape mode by flipping your width and height in the settings.

You can change the URL of your dev server in settings.

Use the Refresh preview button in a viewer, or run Rockett Viewer: Refresh Preview (rockettViewer.refreshPreview) from the Command Palette to refresh the active viewer. The button supports keyboard focus and Enter/Space, and has a tooltip. Refresh reloads the iframe at its original preview URL without reopening the tab or changing device dimensions or orientation. If the page has navigated elsewhere, refresh returns it to that original URL; it does not read cross-origin frame content. With multiple viewers open, the command refreshes only the active viewer. If no viewer is active, it shows an informational message.

Path to dev server can be set in settings

I sometimes dev applications for mobile devices so created this extension to help me out, hopefully other people find it useful too.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft