如何在WebStorm中使用“运行任何内容"启动调试会话? [英] How to start debug session with 'Run Anything' in WebStorm?

查看:331
本文介绍了如何在WebStorm中使用“运行任何内容"启动调试会话?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在最新版本的WebStorm中(2019.3)引入了运行任何操作" , 非常容易启动服务等.

In the recent release WebStorm (2019.3) introduce 'Run Anything action', that great to easily start services etc'.

直到现在我一直通过单击开始调试" GUI按钮来运行它,效果很好,但是如何使用运行任何东西"操作来开始调试会话,例如附加到Node.js"?

Until now i use to run it by clicking on the 'start debug' GUI button, and that works great, but how can i start debugging session like 'Attach to Node.js' by using the 'Run Anything' action?

当我尝试使用运行所有内容"运行时-我收到找不到Node的运行器"失败的错误消息,当我尝试通过GUI运行它时,则不会出现.

When i try to run with 'Run Anything' - i get 'cannot find runner for Node' failing error massage, that not appear when i trying to run it by the GUI.

推荐答案

打开运行任何内容"模式( Ctrl - Ctrl )后,按住 shift .

After you open the 'Run Anything' modal (Ctrl-Ctrl), hold the shift while you choosing the debugging session you want.

祝你好运!

这篇关于如何在WebStorm中使用“运行任何内容"启动调试会话?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆