You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To make life easier for me and perhaps for those who will still be engaged in the project, there is a cool feature in VS code, which can allow you to add the ability to debug the project on React.
Here are the templates:
Run -> Add Configuration -> Node JS
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "attach",
"name": "Launch Program",
"skipFiles": [
"<node_internals>/**"
],
"port": 9229
}
]
}
In package.json add: "debug": "NODE_OPTIONS='--inspect' next dev",
After run press F5 and put necessary breakpoint.
Also will be nice if we add this feature into readme.md
The text was updated successfully, but these errors were encountered:
To make life easier for me and perhaps for those who will still be engaged in the project, there is a cool feature in VS code, which can allow you to add the ability to debug the project on React.
Here are the templates:
Run -> Add Configuration -> Node JS
In package.json add:
"debug": "NODE_OPTIONS='--inspect' next dev",
After run press F5 and put necessary breakpoint.
Also will be nice if we add this feature into readme.md
The text was updated successfully, but these errors were encountered: