Skip to content

Commit

Permalink
Add information about macOS apps debugging in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
SounD120 committed Sep 25, 2020
1 parent 8e29e39 commit 0646c08
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ Using this extension, you can **debug your code and quickly run `react-native` c
- [Debugging React Native applications](#debugging-react-native-applications)
- [Hermes (Android)](#hermes-android)
- [iOS devices](#ios-devices)
- [Custom scheme for iOS apps](#custom-scheme-for-ios-apps)
- [iOS direct debugging](#iOS-direct-debugging)
- [Custom scheme for iOS apps](#custom-scheme-for-ios-apps)
- [iOS direct debugging](#iOS-direct-debugging)
- [Expo applications](#expo-applications)
- [Configuring Expo](#configuring-expo)
- [Windows applications](#react-native-for-windows)
- [macOS applications](#react-native-for-macos)
- [TypeScript and Haul](#typescript-and-haul)
- [Debugger configuration properties](#debugger-configuration-properties)
- [Customization](#customization)
Expand Down Expand Up @@ -245,7 +246,7 @@ If you want to change your app entrypoint (for example, from `index.js` to `inde

**NOTE**: The extension caches the version of the exponent SDK used by your project. This is helpful since we don't want to install the SDK each time you run exponent. If you want the extension to update the SDK version based on your React Native version, just restart VS Code and if it is supported it should work. If it does not please open an issue.

## Windows applications
## React Native for Windows

You can debug UWP and WPF React Native for Windows applications by changing the `platform` in your `launch.json` configuration:

Expand Down Expand Up @@ -273,6 +274,24 @@ You can debug UWP and WPF React Native for Windows applications by changing the
}
```

You can find more information on how to setup your application to work with Windows in [React Native for Windows Getting started instruction](https://microsoft.github.io/react-native-windows/docs/getting-started)

## React Native for macOS

You can debug React Native for macOS applications by changing the `platform` in your `launch.json` configuration to `macos`:

```json
{
"name": "Debug macOS",
"cwd": "${workspaceFolder}",
"type": "reactnative",
"request": "launch",
"platform": "macos"
}
```

You can find more information on how to setup your application to work with Windows in [React Native for macOS Getting started instruction](https://microsoft.github.io/react-native-windows/docs/rnm-getting-started)

## TypeScript and Haul

### Sourcemaps
Expand Down

0 comments on commit 0646c08

Please sign in to comment.