-
Notifications
You must be signed in to change notification settings - Fork 5
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
raycast.attachdebugger no find #33
Comments
Try the commad: Raycast: Update State of Extension. In general you need a package.json with @raycast/API as dependeny. Is this the case for your project? |
I try this command "Raycast: Update State of Extension", but in no use. |
Interesting. Please paste the your log file here (check for sensitive data first before uploading). You can active the logger by adding Trigger the mentioned Update State commad afterwards. |
get, please help where can I find my log file? |
In the output panel (somewhere next to the terminal). Choose |
HI,the following is my log。 |
Which directory did you open from the extensions repo? You should open the project directly inside the |
Sorry for late response, my package.json path is "~/Documents/xxx/lib/raycast_extensions/extensions/notion/package.json" |
Hey @tonka3000 👋🏻 Thanks for your help. I followed your advice and here is the output of the
Everything seems okay but my breakpoints are still skipped. Any idea ? |
@mlz11 interesting. Looks correct to me as well. I just automatically start the node debugger from node so I don't do something special beside getting the right process id dynamicly. Maybe that is an issue from the node debugger of VSCode. Possible things to check
|
@lishoulong Hm, can you share the content of your Also make sure to open the folder directly in VSCode which contains the mentioned |
@tonka3000 Thanks for your replay. After open the inner package.json level foler, I can find the attach debugger command in the command platte. But it can not stop at break point line, the follow is log. 2024-05-21T00:21:35.287Z [debug] /Users/xx/Documents/xx/lib/raycast_extensions/extensions/notion/package.json raycast enabled: true |
For me it is the same. So as a workaround I've opened extension folder ( |
@perat This is the way it is build 😁. You should not open the raycast/extensions im VSCode, you should always open raycast/extensions/. The extension is the repo are independent of each other. |
@lishoulong good to hear. It seems that the node debugger from VSCode itself is broken currently. Need to wait some weeks to check if it got fix upstream. |
@tonka3000 same thing for me. Everything seems to be working, but I can't attach the debugger:
|
Has this problem been fixed by upstream? I am also encountering this issue with Cursor. 2024-11-29T04:40:21.927Z [debug] update state |
Summary
{
"command": "raycast.attachdebugger",
"when": "raycast.workspaceEnabled"
},
安装的插件,在指令面板中搜索不到 raycast.attachdebugger,猜测是不满足 raycast.workspaceEnabled 条件,如何才能满足呢
Steps to reproduce
开发的是 raycast extension 应用
What is the current bug behavior?
指令面板搜索不到 raycast.attachdebugger
What is the expected correct behavior?
指令面板可以搜索到 raycast.attachdebugger,可以 debugger 调试代码
Relevant logs and/or screenshots
Possible fixes
猜测是不满足 raycast.workspaceEnabled 条件,如何才能满足呢
The text was updated successfully, but these errors were encountered: