Added information about pre-requisite for debugging in VSCode

Summary: Added information that "Debugger for Chrome" extension is required to be able to debug in VSCode.

Reviewed By: passy

Differential Revision: D19599117

fbshipit-source-id: 7323fb59daae24fe6b914e9ddb450326b135ad2b
This commit is contained in:
Anton Nikolaev
2020-01-28 06:12:40 -08:00
committed by Facebook Github Bot
parent 48d6ea4c30
commit 7964772f82

View File

@@ -21,7 +21,7 @@ To attach the running Flipper instance open new tab in Google Chrome, navigate t
## Visual Studio Code ## Visual Studio Code
If you prefer to use the same editor for both coding and debugging, you can attach to the running Flipper instance for debugging right from Visual Studio Code. To do this, start Flipper in development mode (`yarn start`), select `Debug and Run` tab in VSCode, and run task `Attach to Running Renderer`. By default this task is set as the first one,so you can just press `F5` to run it. If you prefer to use the same editor for both coding and debugging, you can attach to the running Flipper instance for debugging right from Visual Studio Code. First of all, you need to install extension "Debugger for Chrome". Then, to start debugging, launch Flipper in development mode (`yarn start`), select `Debug and Run` tab in VSCode, and run task `Attach to Running Renderer`. By default this task is set as the first one, so you can just press `F5` to run it.
![Attach From Visual Studio Code](/docs/assets/debugging-from-vscode.png) ![Attach From Visual Studio Code](/docs/assets/debugging-from-vscode.png)