【发布时间】:2022-11-18 20:42:18
【问题描述】:
我创建了一个带有一些内联 javascript 的 *.html 文件。
我想使用 GitHub codespaces 调试文件。
我安装了 Live Server 插件来在浏览器中运行我的 html 文件。
我创建了以下launch.json 文件:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Editor_2",
"request": "launch",
"type": "chrome",
"url": "http://127.0.0.1:5502/_ui/editor_v02.html",
"webRoot": "${workspaceFolder}"
}
]
}
运行 Editor_2 配置时,我得到:
Unable to launch browser: "Timed out waiting for browser connection"
有什么建议我做错了吗?
感谢您的回复!
【问题讨论】:
-
我有同样的问题
标签: github visual-studio-code codespaces github-codespaces