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:
|
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: