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

VSCode调试配置可以具体些吗,官方文档的介绍太少了 #48

Open
solairewrite opened this issue Nov 3, 2023 · 13 comments
Open

Comments

@solairewrite
Copy link

1.要安装哪些插件
2.要配置哪些json文件
3.要配置ts-node或者V8吗
4.//GameScript = MakeSharedpuerts::FJsEnv(std::make_uniquepuerts::DefaultJSModuleLoader(TEXT("JavaScript")), std::make_sharedpuerts::FDefaultLogger(), 8080);
这行代码需要取消注释吗,端口8080需要在vscode中哪里进行配置吗

@solairewrite
Copy link
Author

image

@solairewrite
Copy link
Author

image

@solairewrite
Copy link
Author

image

@solairewrite
Copy link
Author

按照这篇文章的配置<使用VsCode调试UE5的PuerTs>https://www.cnblogs.com/1eon/p/16851750.html
debug console中能显示出TS的输出了,但是断点是灰色的,显示Unbond breakpoint

@solairewrite
Copy link
Author

image
image
image

@solairewrite
Copy link
Author

image

@solairewrite
Copy link
Author

这篇文章也看过了: Puerts Inspector指南(一)在UE4和Unity里调试Javascript
https://zhuanlan.zhihu.com/p/359598262
依旧是能连接上,但是不能断点,C++端口和launch.json的端口都设置成了8889

@chexiongsheng
Copy link
Owner

你试试降下vscode版本。
本来也不复杂,都是直接连而已。
你这搞不定,只是最近vscode的bug而已。

@solairewrite
Copy link
Author

试过1.70.2, 1.82.3都不行,表现上还是能显示log,不能断点
我个人是比较喜欢WebStorm的,WS能调试就行了

@chexiongsheng
Copy link
Owner

试过1.70.2, 1.82.3都不行,表现上还是能显示log,不能断点 我个人是比较喜欢WebStorm的,WS能调试就行了

貌似是vscode插件的问题,如果是插件问题,vscode版本改变也解决不了。

@solairewrite
Copy link
Author

image

@solairewrite
Copy link
Author

这个插件试了0.04,0.05,0.06都不行

@solairewrite
Copy link
Author

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