Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

本地如何调试 #17

Closed
14lee opened this issue Apr 22, 2024 · 2 comments
Closed

本地如何调试 #17

14lee opened this issue Apr 22, 2024 · 2 comments

Comments

@14lee
Copy link

14lee commented Apr 22, 2024

想要排查一下本地部署的ollama大模型为何不能调用,拉下来源码,不知道怎么本地调试,可以指点一下吗

@Bistutu
Copy link
Owner

Bistutu commented Apr 22, 2024

在这个package.json文件里,一般是 npm dev 后会自动打开一个调试环境(浏览器)
image

@Bistutu Bistutu closed this as completed Apr 22, 2024
@Bistutu
Copy link
Owner

Bistutu commented Apr 22, 2024

还有2个注意点:

  1. 查看content.js脚本的话,直接打开浏览器的开发者窗口就行
  2. 查看 background.js脚本的话,需要打开插件的菜单页面,然后在菜单页右键,选择检查
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants