简体   繁体   English

PowerShell IDE,允许在调试时进行编辑

[英]PowerShell IDE that allows editing while debugging

I'm looking for a PowerShell IDE. 我正在寻找一个PowerShell IDE。 My requirements are simple: 我的要求很简单:

  1. Syntax highlighting 语法突出显示
  2. Debugger 调试器
  3. Ability to edit the code while stopped at a breakpoint . 能够在断点处停止时编辑代码。

This last point is the problem. 最后一点是问题所在。 I've already looked at https://stackoverflow.com/questions/171514/best-ide-for-powershell and tried PowerShell ISE and PowerGUI - both disallow this. 我已经查看了https://stackoverflow.com/questions/171514/best-ide-for-powershell并尝试了PowerShell ISEPowerGUI - 两者都不允许这样做。 (I've also tried PowerShellAnalyzer , which can only be adequately described in one word: FAIL ) (我也尝试过PowerShellAnalyzer ,只能用一个词来描述: FAIL

I'm not looking for any edit-and-continue functionality. 我不是在寻找任何编辑和继续功能。 I literally just want to not be prevented from editing the text while stopped at a breakpoint. 我确实希望在断点处停止时不要阻止编辑文本。 I'm not looking for any arguments about why this is not advisable. 我不是在寻找任何关于为什么这不可取的论点。 I just want an IDE that allows it. 我只想要一个允许它的IDE。

PowerSE can edit scripts while stopped at a breakpoint. PowerSE可以在断点处停止时编辑脚本。

I know it's not an issue for you as you said, but you can continue stepping through the script, but it executes the old code so the position marker no longer lines up with the code being executed. 我知道这对你来说不是问题,但是你可以继续单步执行脚本,但它会执行旧代码,因此位置标记不再与正在执行的代码对齐。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM