Skip to content

Commit

Permalink
add text to indicate the correct config
Browse files Browse the repository at this point in the history
  • Loading branch information
jonthysell committed Mar 14, 2024
1 parent 856478a commit 80e05b0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions docs/debugging-javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ You can web debug within [VS Code](http://code.visualstudio.com/) by using the [
1. Depending on whether or not you already have a `launch.json` file, the drop-down will either:
1. Provide a list of debug configurations. Check the box for *Debug Windows* and click *OK*. OR
2. Guide you through a series of prompts. Select *Debug application*, *Windows*, *Classic application*.
2. A new configuration should appear in your `launch.json` file. Rename it if you want but it should look like this:
2. A new (possibly incorrect) entry should appear in your `launch.json` file. The config will need to look like this (the `name` doesn't matter) to debug properly:
```json
{
"name": "Debug Windows",
Expand All @@ -133,7 +133,7 @@ You can web debug within [VS Code](http://code.visualstudio.com/) by using the [
1. Depending on whether or not you already have a `launch.json` file, the drop-down will either:
1. Provide a list of debug configurations. Check the box for *Attach to packager* and click *OK*. OR
2. Guide you through a series of prompts. Select *Attach to application*, *Classic application*, `localhost`, `8081`.
2. A new configuration should appear in your `launch.json` file. Rename it if you want but it should look like this:
2. A new (possibly incorrect) entry should appear in your `launch.json` file. The config will need to look like this (the `name` doesn't matter) to debug properly:
```json
{
"name": "Attach to packager",
Expand Down Expand Up @@ -334,7 +334,7 @@ You can direct debug RNW apps using the Hermes JS engine with [VS Code](http://c
1. Depending on whether or not you already have a `launch.json` file, the drop-down will let you select *Node.js: Attach* (if it's available) or just *Node.js*
> If you don't see *Node.js*, try again without a code file opened in the editor.
2. A new configuration should appear in your `launch.json` file. Rename it if you want but it should look like this:
2. A new (possibly incorrect) entry should appear in your `launch.json` file. The config will need to look like this (the `name` doesn't matter) to debug properly:
```json
{
"name": "Attach",
Expand Down Expand Up @@ -374,7 +374,7 @@ You can direct debug RNW apps using the Hermes JS engine with [VS Code](http://c
1. Depending on whether or not you already have a `launch.json` file, the drop-down will either:
1. Provide a list of debug configurations. Check the box for *Debug Windows Hermes -Experimental* and click *OK*. OR
2. Guide you through a series of prompts. Select *Debug application*, *Windows*, *Application in direct mode(Hermes)*.
2. A new configuration should appear in your `launch.json` file. Rename it if you want but it should look like this:
2. A new (possibly incorrect) entry should appear in your `launch.json` file. The config will need to look like this (the `name` doesn't matter) to debug properly:
```json
{
"name": "Debug Windows Hermes - Experimental",
Expand All @@ -394,7 +394,7 @@ You can direct debug RNW apps using the Hermes JS engine with [VS Code](http://c
1. Depending on whether or not you already have a `launch.json` file, the drop-down will either:
1. Provide a list of debug configurations. Check the box for *Attach to Hermes application* and click *OK*. OR
2. Guide you through a series of prompts. Select *Attach to application*, *Application in direct mode(Hermes)*, *Hermes engine*, `localhost`, `8081`.
2. A new configuration should appear in your `launch.json` file. Rename it if you want but it should look like this:
2. A new (possibly incorrect) entry should appear in your `launch.json` file. The config will need to look like this (the `name` doesn't matter) to debug properly:
```json
{
"name": "Attach to Hermes application - Experimental",
Expand Down
10 changes: 5 additions & 5 deletions website/versioned_docs/version-0.67/debugging-javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ You can web debug within [VS Code](http://code.visualstudio.com/) by using the [
1. Depending on whether or not you already have a `launch.json` file, the drop-down will either:
1. Provide a list of debug configurations. Check the box for *Debug Windows* and click *OK*. OR
2. Guide you through a series of prompts. Select *Debug application*, *Windows*, *Classic application*.
2. A new configuration should appear in your `launch.json` file. Rename it if you want but it should look like this:
2. A new (possibly incorrect) entry should appear in your `launch.json` file. The config will need to look like this (the `name` doesn't matter) to debug properly:
```json
{
"name": "Debug Windows",
Expand All @@ -132,7 +132,7 @@ You can web debug within [VS Code](http://code.visualstudio.com/) by using the [
1. Depending on whether or not you already have a `launch.json` file, the drop-down will either:
1. Provide a list of debug configurations. Check the box for *Attach to packager* and click *OK*. OR
2. Guide you through a series of prompts. Select *Attach to application*, *Classic application*, `localhost`, `8081`.
2. A new configuration should appear in your `launch.json` file. Rename it if you want but it should look like this:
2. A new (possibly incorrect) entry should appear in your `launch.json` file. The config will need to look like this (the `name` doesn't matter) to debug properly:
```json
{
"name": "Attach to packager",
Expand Down Expand Up @@ -333,7 +333,7 @@ You can direct debug RNW apps using the Hermes JS engine with [VS Code](http://c
1. Depending on whether or not you already have a `launch.json` file, the drop-down will let you select *Node.js: Attach* (if it's available) or just *Node.js*
> If you don't see *Node.js*, try again without a code file opened in the editor.
2. A new configuration should appear in your `launch.json` file. Rename it if you want but it should look like this:
2. A new (possibly incorrect) entry should appear in your `launch.json` file. The config will need to look like this (the `name` doesn't matter) to debug properly:
```json
{
"name": "Attach",
Expand Down Expand Up @@ -373,7 +373,7 @@ You can direct debug RNW apps using the Hermes JS engine with [VS Code](http://c
1. Depending on whether or not you already have a `launch.json` file, the drop-down will either:
1. Provide a list of debug configurations. Check the box for *Debug Windows Hermes -Experimental* and click *OK*. OR
2. Guide you through a series of prompts. Select *Debug application*, *Windows*, *Application in direct mode(Hermes)*.
2. A new configuration should appear in your `launch.json` file. Rename it if you want but it should look like this:
2. A new (possibly incorrect) entry should appear in your `launch.json` file. The config will need to look like this (the `name` doesn't matter) to debug properly:
```json
{
"name": "Debug Windows Hermes - Experimental",
Expand All @@ -393,7 +393,7 @@ You can direct debug RNW apps using the Hermes JS engine with [VS Code](http://c
1. Depending on whether or not you already have a `launch.json` file, the drop-down will either:
1. Provide a list of debug configurations. Check the box for *Attach to Hermes application* and click *OK*. OR
2. Guide you through a series of prompts. Select *Attach to application*, *Application in direct mode(Hermes)*, *Hermes engine*, `localhost`, `8081`.
2. A new configuration should appear in your `launch.json` file. Rename it if you want but it should look like this:
2. A new (possibly incorrect) entry should appear in your `launch.json` file. The config will need to look like this (the `name` doesn't matter) to debug properly:
```json
{
"name": "Attach to Hermes application - Experimental",
Expand Down
10 changes: 5 additions & 5 deletions website/versioned_docs/version-0.73/debugging-javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ You can web debug within [VS Code](http://code.visualstudio.com/) by using the [
1. Depending on whether or not you already have a `launch.json` file, the drop-down will either:
1. Provide a list of debug configurations. Check the box for *Debug Windows* and click *OK*. OR
2. Guide you through a series of prompts. Select *Debug application*, *Windows*, *Classic application*.
2. A new configuration should appear in your `launch.json` file. Rename it if you want but it should look like this:
2. A new (possibly incorrect) entry should appear in your `launch.json` file. The config will need to look like this (the `name` doesn't matter) to debug properly:
```json
{
"name": "Debug Windows",
Expand All @@ -134,7 +134,7 @@ You can web debug within [VS Code](http://code.visualstudio.com/) by using the [
1. Depending on whether or not you already have a `launch.json` file, the drop-down will either:
1. Provide a list of debug configurations. Check the box for *Attach to packager* and click *OK*. OR
2. Guide you through a series of prompts. Select *Attach to application*, *Classic application*, `localhost`, `8081`.
2. A new configuration should appear in your `launch.json` file. Rename it if you want but it should look like this:
2. A new (possibly incorrect) entry should appear in your `launch.json` file. The config will need to look like this (the `name` doesn't matter) to debug properly:
```json
{
"name": "Attach to packager",
Expand Down Expand Up @@ -335,7 +335,7 @@ You can direct debug RNW apps using the Hermes JS engine with [VS Code](http://c
1. Depending on whether or not you already have a `launch.json` file, the drop-down will let you select *Node.js: Attach* (if it's available) or just *Node.js*
> If you don't see *Node.js*, try again without a code file opened in the editor.
2. A new configuration should appear in your `launch.json` file. Rename it if you want but it should look like this:
2. A new (possibly incorrect) entry should appear in your `launch.json` file. The config will need to look like this (the `name` doesn't matter) to debug properly:
```json
{
"name": "Attach",
Expand Down Expand Up @@ -375,7 +375,7 @@ You can direct debug RNW apps using the Hermes JS engine with [VS Code](http://c
1. Depending on whether or not you already have a `launch.json` file, the drop-down will either:
1. Provide a list of debug configurations. Check the box for *Debug Windows Hermes -Experimental* and click *OK*. OR
2. Guide you through a series of prompts. Select *Debug application*, *Windows*, *Application in direct mode(Hermes)*.
2. A new configuration should appear in your `launch.json` file. Rename it if you want but it should look like this:
2. A new (possibly incorrect) entry should appear in your `launch.json` file. The config will need to look like this (the `name` doesn't matter) to debug properly:
```json
{
"name": "Debug Windows Hermes - Experimental",
Expand All @@ -395,7 +395,7 @@ You can direct debug RNW apps using the Hermes JS engine with [VS Code](http://c
1. Depending on whether or not you already have a `launch.json` file, the drop-down will either:
1. Provide a list of debug configurations. Check the box for *Attach to Hermes application* and click *OK*. OR
2. Guide you through a series of prompts. Select *Attach to application*, *Application in direct mode(Hermes)*, *Hermes engine*, `localhost`, `8081`.
2. A new configuration should appear in your `launch.json` file. Rename it if you want but it should look like this:
2. A new (possibly incorrect) entry should appear in your `launch.json` file. The config will need to look like this (the `name` doesn't matter) to debug properly:
```json
{
"name": "Attach to Hermes application - Experimental",
Expand Down

0 comments on commit 80e05b0

Please sign in to comment.