You can debug only Web applications on Windows 8 in Modern UI mode; Desktop and Mobile applications are not supported.

Before you debug an application on Windows 8 in Modern UI mode, locally or remotely, you need to follow these steps:

Pre-requisite to debugging an application on Windows 8 in Modern UI mode

Modify the registry setting

  1. Open the Registry Editor.
  2. Browse to the key HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer.
  3. Right-click Internet Explorer, and select New > Key.
  4. Enter the name of the key as Flash.
  5. Right-click Flash, the key you created, and select New > String Value.
  6. Enter the name of the value as DebugDomain.
  7. Right-click DebugDomain, and select Modify.
  8. Do one of the following: 
    1. If you are debugging locally, that is, an application on your computer, enter localhost as the Value Data.
    2. If you are debugging remotely, that is an application on a remote computer, enter the IP address of the remote computer as the Value data.
  9. Click OK.

Modify the trusted site setting

  1. Launch Internet Explorer.
  2. Open the Internet Options dialog box.
  3. In the Security tab, select Trusted Sites.
  4. Click Sites.
  5. In the Trusted Sites dialog, add a website to the Trusted zone by doing one of the following:
    1. If you are debugging a local application, enter http://localhost, and click Add.
    2. If you are debugging a remote application, specify the IP address of the remote computer as http://<IP Address>, and click Add.

Debug an application locally on Windows 8 in Modern UI mode

Note:

Ensure that you've followed the steps specified in Pre-requisite to debugging an application on Windows 8 Modern UI mode.

  1. In the Package Explorer, select the project to debug.
  2. Select Run > Debug Configurations to open the Debug Configurations dialog.
  3. Select Launch In Modern UI Mode.
  4. Launch Internet Explorer.
  5. If a valid Microsoft Developer License is not found on your computer, you are prompted to get the license.
    A dialog box appears asking if you have a Microsoft Developer license.
    • If you have a Microsoft Developer license, click Yes. Flash Builder then automatically switches you from Windows 8 UI Mode to Windows 8 Desktop mode, and you can continue debugging.
    • If you don't have a Microsoft Developer license, click No. You then have to manually switch to Windows 8 Classic mode to continue debugging.

Debug an application remotely on Windows 8 in Modern UI mode

Note:

Ensure that you've followed the steps specified in Pre-requisite to debugging an application on Windows 8 Modern UI mode for the remote computer.

If the computer on which Flash Builder is running is not on Windows 8, and you want to debug your application on Modern UI Style Internet Explorer, ensure that the project that you are debugging in Flash Builder should be a server-type project.

Alternatively, if your project is a non-server project, do the following:

  1. Place your output folder in the root folder of a server and point the output folder URL to the project folder by following these steps:
  2. In the Project Properties dialog, select Build Path.Enter the path to the output folder that you placed in the root folder of a server.
  3. For the Output folder URL, enter the URL pointing to the new output folder. For example, http://server address/new output folder.

Debug the application

  1. In the Package Explorer, select the project to debug.
  2. Select Run > Debug Configurations to open the Debug Configurations dialog.
  3. Copy the default launch URL to Clipboard.
  4. Update the default launch configuration in the Debug Configurations dialog to about:blank.
  5. Click Debug.
  6. Switch to Modern UI mode.
  7. Launch Modern UI style Internet Explorer on a Windows 8 computer.
  8. Paste the launch URL that you copied to Clipboard in the browser's address bar, and modify it to include the IP address of the remote computer.
    For example, if the launch URL that you copied is http://localhost/file.html, change it to http://IP_of_the_remote_computer/file.html.
  9. Press Enter.
  10. Right-click in the browser, and select Debugger.
  11. In the Adobe Flash Player dialog that appears, select Other Machine, and enter the IP address of the computer where Flash Builder is running.
  12. Click Connect. The Modern UI style Internet Explorer browser gets connected to the remote Flash Builder debugger. You can now continue to debug the application.

Troubleshoot debugging on Windows 8

While using Internet Explorer (IE) Modern UI browser for debugging, if you run into any issues, see this Tech Note for more information.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy