-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
请教下egg 怎么在 webstorm下调试【环境window】 #1332
Comments
啥报错
发自我的 iPhone
… 在 2017年8月19日,21:25,Bee ***@***.***> 写道:
看了官网的调试,按照方式去做了但是没有调试起来,webstorm 【window环境】下是不能断点调试么?
window下想断点调试 应该采用哪种方式 比价好 谢谢
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
可以再看下文档,需要传递一个环境变量的 |
改为 win 的格式即可, %xx%
发自我的 iPhone
… 在 2017年8月19日,22:58,Bee ***@***.***> 写道:
您指的是这样,这个环境变量的写法 好像mac才有用
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
@VanquisherMe Win下建议你使用 Node.js v8 以上版本,安装 egg-development-proxyworker 插件,使用 |
@okoala win 下没法传递那个 options ? |
@okoala 可以了,如果WebStorm 想在IDE内调试 只能是mac? 文档提供的 "egg-bin dev $NODE_DEBUG_OPTION" 好像是 mac 下设置临时变量的方式。 |
这跟 node 没啥关系,属于操作系统知识, |
egg-bin dev %NODE_DEBUG_OPTION%之前尝试过这样 没有跑起来,所以也比较好奇 win 的应该怎么写 |
windows 下用 set |
这里不是要设置环境变量,而是要读取环境变量,然后传递给 bin 参数 |
@VanquisherMe 你升级下 egg-bin 最新版本,然后不用传递任何参数了,直接 文档那边也更新了,https://eggjs.org/zh-cn/core/development.html#使用-webstorm-进行调试 在 eggjs/bin#71 里面支持直接读取 WebStorm 的环境变量了. |
看了官网的调试,按照方式去做了但是没有调试起来,webstorm 【window环境】下是不能断点调试么?
window下想断点调试 应该采用哪种方式 比价好 谢谢
The text was updated successfully, but these errors were encountered: