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

调试配置说明完善 #29

Open
oOtroyOo opened this issue Aug 6, 2021 · 0 comments
Open

调试配置说明完善 #29

oOtroyOo opened this issue Aug 6, 2021 · 0 comments

Comments

@oOtroyOo
Copy link

oOtroyOo commented Aug 6, 2021

如果说,Unity 项目中。有人用vscode做主开发,其中,lua根目录在Unity项目的Assets某目录里。而不是与Unity同级根目录。如果就这样LuaHelper-Attach ,将会找不到路径。
但是呢,可以调整json

  • 例如 lua根目录在 Unity项目中Assets/LuaScript/
  • LuaHelper-Attach 下面添加
"cwd": "${workspaceFolder}/Assets/LuaScript/"

经测试,甚至可以C#,lua 两种调试同一个vscode同时开启。将会带来巨大的方便。

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

1 participant