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

添加可调试的启动方式 #214

Merged
merged 3 commits into from
Apr 24, 2024
Merged

Conversation

pacinor
Copy link

@pacinor pacinor commented Apr 9, 2024

新版本的vscode无法按照readme中的方式进行调试,在launch.json中增加了一个可以供vscode使用的调试方式
需要调试main,在vscode的调试与执行中运行main(DEBUG),调试Renderer,在vscode的调试与执行中运行Renderer(DEBUG)

pacinor added 2 commits April 10, 2024 13:23
…dReconnectwhen readybyreopeningDevTools.”的问题,添加对Renderer进行调试的方式Renderer(DEBUG)
@ChingCdesu
Copy link
Member

--remote-allow-origins=*参数是否会添加不确定的安全因素

@pacinor
Copy link
Author

pacinor commented Apr 22, 2024

--remote-allow-origins=*参数是否会添加不确定的安全因素

这个只在开发环境下有效,不加这个参数的话在较新版本的chromium内核浏览器里无法连接到远程调试

@ChingCdesu ChingCdesu merged commit 57c1275 into MaaAssistantArknights:dev Apr 24, 2024
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

Successfully merging this pull request may close these issues.

2 participants