VS Code
Last updated
Last updated
You can get Visual Studio Code
from his . Once downloaded, drag and drop the application file into your Applications folder.
Enable the VSCode CLI
opening VSCode and click CMD + Shift + P
to open the command tool and type: Install command
Now open a terminal window and type:
Replace your User from the path of custom css import.
Chrome Debugger allows front-end developers to debug their client-side JavaScript code running inside Google Chrome directly from Visual Studio Code.
Support for the following features:
Setting breakpoints, including within source files when source maps are enabled
TypeScript, via source maps
Stepping, including using the buttons on the Chrome page
Locals scope variables via the VS Code Locals pane
Debugging eval scripts, script tags, and scripts that are added dynamically
Watches via the VS Code Watch panel.
The debug console
Most console APIs
Press Cmd + Shift + P
to open the VS Code command prompt and type launch
and Open launch.json
and then select Chrome
environment:
If your Front-end application run on port 3000 you can use the following configuration:
Set the webRoot
folder with the proper path.
Create a Breakpoint in you source code.
Press Cmd + Shift + D
to open the Debug Sidenav
. On the top left of VS Code
we'll find the Play Button with Launch Chrome against Localhost...
A new Chrome window with debugger mode enabled will appear on our screen.
If you notice that your system is not able to watch file changes in a large workspace, check this out:
We are following the article
Download and install both and (or another cursive alternative if you want)
Install VSCode Extension:
Save on your desktop
Update the User settings () in VSCode. (note: don’t forget to change the path “ vscode_custom_css.imports”)
To get started, open the Extensions view (⇧⌘X). When the extension list appears, type 'chrome' to filter the list and install the Debugger for Chrome
extension. You'll then create a launch-configuration file which is explained in detail in the README .
You can either setup VS Code to connect to an already running Chrome instance or simply start a new one with remote debugging enabled, but read more about that in our .