fc icon indicating copy to clipboard operation
fc copied to clipboard

支持 custom runtime 的断点调试能力

Open SquatsTonight opened this issue 3 years ago • 1 comments

SquatsTonight avatar Mar 29 '22 01:03 SquatsTonight

image

在固定语言的 runtime 中, 比如 nodejs runtime, ca 启动的命令是 node server.js , 我们加上如上图所示的 node server.js --debug-brk=3000, 这样就得到的调试端口是 3000

在 custom runtime 的场景中, 由于不知道是啥语言, 所以这个DEBUG_OPTIONS 完全可以让用户自己定义, 同时我们文档做好主流语言使用示例即可

rsonghuster avatar Apr 01 '22 03:04 rsonghuster