vscode怎么配置node


当前第2页 返回上一页

相关推荐:《vscode基础教程》、《nodejs 教程》

4、调试

创建Hello word Demo

2.png

创建测试服务器server.js

1

2

3

4

5

6

7

8

var http=require('http');

  

http.createServer(function(req,res){

    res.writeHead(200,{'Content-Type':'text/plain'});

    res.end('hello node.js');

}).listen(3000,'localhost',function(){

    console.log('Server running at http://localhost:3000');

});

更多编程相关知识,请访问:编程入门!!

以上就是vscode怎么配置node的详细内容,更多文章请关注木庄网络博客

返回前面的内容

相关阅读 >>

ubuntu系统中vsCode无法打开

vsCode vsix如何安装

vsCode和visual studio有什么区别

vsCode如何更换代码编辑框背景

vsCode 编辑器怎么改成中文?

vsCode如何添加插件

vsCode右边预览栏能不能去掉

vsCode无法跳转到定义怎么办

vsCode的扩展装到哪里了

值得收藏的12个visual studio code插件

更多相关阅读请进入《vsCode》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...