---
schema_version: "1"
id: 9f6dc4395e6a71397c665af8a4b17758618dc62f69d87739dd8d53aadcf28e3c
title: Test AMPscript Content Locally
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/ampscript/guide/development/mc-ampscript-guide-development-core-extension-launch-server.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/guide/mc-ampscript-guide-development-core-extension-launch-server.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 8f561639ecd75c63ca118a72c27527559fa6b57a450430e6d09a7e9734cbba30
products:
  - AMPscript for Marketing Cloud
  - Marketing Cloud
---
# Test AMPscript Content Locally

The AMPscript Core extension can create a web server hosted on your local computer. You can view your AMPscript content on this server using your web browser.

## Start the Server

The extension launches a server on your computer on port 5000. You can start the server from within Visual Studio Code.

1. In Visual Studio Code, go to **File** > **Open Folder**.
2. Select the folder that you cloned the Git repository into.
3. In the Visual Studio file explorer, open the folder `example/dd4tmp`. Click the file `dd4tmp.ampscript`.
4. Click the Run and Debug icon (![The Run & Debug button in Visual Studio Code. The button has an equilateral triangle pointing to the right. In the lower left corner, there’s an image of an insect.](https://developer.salesforce.com/media/images/ampscript/mc-ampscript-guide-development-core-extension-install-run-debug-button.png)), and then click **Run and Debug**. The example file opens in your web browser.

**note:** If the file doesn’t automatically open in your web browser, you can view it by entering `localhost:5000` in your browser's address bar.

## Modify the Example Content and View Changes

You can modify the example content to see several of the ways in which AMPscript can personalize content for your recipients.

1. Open the file `example/dd4tmp/subscriber.json`. This file represents the subscriber data that can be used to personalize the message.
2. Change some of the values in the file, and then reload the example page in your web browser. You can change several values to see changes in the file, including:
   - To view the message in other languages, change the value of `Member_Langauge` field to `ES` or `CN`.
   - To change the salutation, change the value of the `first_name` field.
