Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 Codesandbox 的控制台中显示代码行?
我在设置中搜索,但找不到任何东西。
假设您正在使用console.log()它们,您无需做任何其他事情。Codesandbox 将记录console.log()语句中的任何内容并在控制台选项卡中显示给您。
console.log()
您的广告拦截器可能是您看不到任何内容的原因。将其关闭,或尝试在 Chrome 的隐身模式下运行沙盒(假设您没有在隐身模式下启用广告拦截器。)