5

腾讯云 Serverless 云函数支持在线调试功能 | 在线分享第 13 期

 3 years ago
source link: https://serverlesscloud.cn/blog/2020-12-29-webinar-meetup
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

腾讯云 Serverless 云函数支持在线调试功能 | 在线分享第 13 期

作者:

Serverless 社区

发布于: 2020-12-29

归档于:

标签:ServerlessMeetup

为了给用户更好的调试体验,云函数特推出在线调试功能。目前,Node10及以上版本的 runtime,使用 Chrome 浏览器打开云函数控制台,在函数代码页即可看到在线调试的入口。在线调试方便了用户通过控制台快速定位问题,解决本地搭建调试环境复杂、云上环境不便于定位问题等痛点。

Tencent Serverless Hours 系列线上分享会第13期,我们邀请了腾讯云 Serverless 高级前端开发工程师陈家兴(Justyn)与您分享 Nodejs 调试技巧,并进行云上调试 Demo实战演示。

参与直播互动,我们将抽取三位用户,送出新年礼品:企鹅双肩包M3蓝牙音箱时钟,名额有限,赶快扫码报名参加吧!

直播时间:12月29日(周二) 19:00

0d23d358195fc640af46526c1f7993a3.jpg

参与互动赢取新年礼品

c1a14a537932dd3f291c93929cd0909b.png

Serverless 极速部署,只需三步

Serverless Framework 是构建和运维 Serverless 应用的框架。简单三步,即可通过 Serverless Framework 快速实现服务部署。

1. 安装 Serverless

macOS/Linux 系统:推荐使用二进制安装

$ curl -o- -L https://slss.io/install | bash

Windows 系统:可通过 npm 安装

$ npm install -g serverless

2. 创建云上应用

在空文件夹下输入 serverless 命令

$ serverless

访问命令行中输出的链接,即可访问成功部署后的应用。

3. 查看部署信息

进入到部署成功的文件夹,运行如下命令,查看部署状态和资源信息:

$ sls info

欢迎访问:Serverless 中文网,您可以在 最佳实践 里体验更多关于 Serverless 应用的开发!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK