[program-l] Re: Setting Up A Local Webserver With VSCode

  • From: "Lewis Wood" <lewislwood@xxxxxxxxx>
  • To: <program-l@xxxxxxxxxxxxx>
  • Date: Mon, 11 Apr 2022 12:55:40 -0500

NodeJs is extremely easy and supported natively by vsCode. 

Normal routine is Console or terminal window type "npm start"

Now just press f5 and the debugger will allow you to select Nodejs app.

You can create a launch file and it will launchh  the browser .

I find the debugging of js files quite easy, I just find HTML with js
scripts in them a problem/hit miss.

 

Stick with it. Feel free to contact me if you have any questions.

I know that launch file can be a bit confusing at first.

 

What is nice once started, all you have to do is refresh browser after edit
changes and your debugging the latest changes.

 

 

Lewis Wood

lewislwood@xxxxxxxxx

 

 

 

From: program-l-bounce@xxxxxxxxxxxxx <program-l-bounce@xxxxxxxxxxxxx> On
Behalf Of Jim Homme
Sent: Monday, April 11, 2022 9:32 AM
To: program-l@xxxxxxxxxxxxx
Subject: [program-l] Re: Setting Up A Local Webserver With VSCode

 

Hi,

Thanks Louis. I am going through Beginning JavaScript by Russ Ferguson. I
want to make sure I understand how to use NodejJS to pretend I'm browsing my
web pages on the Internet, and when I get to the Node parts of the book, to
be able to work on the back end. I would like to stay in VSCode and launch
the page I'm working on, but if I can't do that, I want to get a command
prompt and launch the server, then browse to my page. I would prefer the
first option because it would be faster.

 

Jim

 

==========

Jim Homme

Senior Digital Accessibility Consultant

Bender Consulting Services

412-787-8567

https://www.benderconsult.com/

Support the dreams of independence through employment for students with
disabilities with your Amazon purchases.

https://smile.amazon.com/ch/83-0988251

 

From: program-l-bounce@xxxxxxxxxxxxx <mailto:program-l-bounce@xxxxxxxxxxxxx>
<program-l-bounce@xxxxxxxxxxxxx <mailto:program-l-bounce@xxxxxxxxxxxxx> > On
Behalf Of Lewis Wood
Sent: Friday, April 8, 2022 4:27 PM
To: program-l@xxxxxxxxxxxxx <mailto:program-l@xxxxxxxxxxxxx
Subject: [program-l] Re: Setting Up A Local Webserver With VSCode

 

I have numerous webinars on my website.

I talk about using xamp for php from a windows environment.

Lately I use Docker to create all my websites and host them locally. My
example does Wordpress in 5 minutes.

Docker Hub have many images of webservers, sql, and more.

Also you can use NodeJs to create websites.

 

So it is up to you.I

Am currently learning NodeJs creating React websites.

 

I use vsCode and post them occasionally create webinars to help others.

 

You can find my webinars at:

http://blindheroes.org

 

Lewis Wood

 

lewislwood@xxxxxxxxx <mailto:lewislwood@xxxxxxxxx

contactme@xxxxxxxxxxxxxxx <mailto:contactme@xxxxxxxxxxxxxxx

 

 

From: program-l-bounce@xxxxxxxxxxxxx <mailto:program-l-bounce@xxxxxxxxxxxxx>
<program-l-bounce@xxxxxxxxxxxxx <mailto:program-l-bounce@xxxxxxxxxxxxx> > On
Behalf Of Jim Homme
Sent: Friday, April 8, 2022 12:42 PM
To: program-l@xxxxxxxxxxxxx <mailto:program-l@xxxxxxxxxxxxx
Subject: [program-l] Setting Up A Local Webserver With VSCode

 

Hi,

Does anyone have instructions for this?

 

Thanks.

 

Jim

 

==========

Jim Homme

Senior Digital Accessibility Consultant

Bender Consulting Services

412-787-8567

https://www.benderconsult.com/

Support the dreams of independence through employment for students with
disabilities with your Amazon purchases.

https://smile.amazon.com/ch/83-0988251

 

Other related posts: