How to how to add a flag to an Angular start script in VS Code

How to how to add a flag to an Angular start script in VS Code

Problem Description:

In an answer to another question, it was suggested that someone add this flag to the start script, but it does not explain how to do this.

"start": "ng serve –host=127.0.0.1"

Solution – 1

Add it in launch.json after the url entry.

Rate this post
We use cookies in order to give you the best possible experience on our website. By continuing to use this site, you agree to our use of cookies.
Accept
Reject