Visual Studio 2017 debugging vbscript

后端 未结 3 1121
半阙折子戏
半阙折子戏 2020-12-19 09:27

I\'d like to debug a vbscript with Visual Studio 2017 Community Edition and followed the steps mentioned here for VS2015:

Video

I entered

cs         


        
3条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-19 09:58

    Neither of those solutions worked for me. Found a workaround on MSDN

    1. Start Visual Studio.
    2. File -> Open Project.
    3. Point it at "C:\Windows\system32\cscript.exe" (or wherever your windows install directory is).
    4. When you get the elevation permissions dialog, click 'Ignore'.
    5. Go to project properties on the cscript.exe node.
    6. In arguments add '//d '.
    7. In 'Debugger type' change it to script.
    8. Close project properties.
    9. Hit F10.

提交回复
热议问题