-
Notifications
You must be signed in to change notification settings - Fork 430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to debug react app in VSCode #652
Comments
This will create a launch.json file in a new .vscode folder in your project which includes a configuration to launch the website.
I see you are using env-cmd package which sets environmental variables such as PORT, the one is located in your launch.json file at "url" option — 8080. Your launch.json's url's port must be the same as the port your app is running at because a Chrome instance is attached to an already running app.
Now you only have to run your app. Follow these steps:
|
hi to fix this issue try it in package.json:
or Replace the content of the generated launch.json file with the following configuration:
I hope it is useful. |
这是来自QQ邮箱的假期自动回复邮件。您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
|
Hello.
I would like to debug my react app into VSCode and Chrome.
Everything i tried has failed.
Here is my command line into package.json :
Could you help me please ?
Thanks.
The text was updated successfully, but these errors were encountered: