VS Code launch.json 附加到 iexplore
VS Code launch.json attach to iexplore
我想在 VS-Code 中调试我的 office-js 应用程序(使用 angular2)。
我的 launch.json 是:
"configurations": [
{
"sourceMaps": true,
"type": "node",
"request": "attach",
"port": 4200,
"name": "Launch Program",
"outFiles": [
"${workspaceRoot}/*.js"
]
}
目前我正在使用带有 angular cli 和 "ng serve" 命令的 Atom Editor 和 VS Community Edition 2017 作为调试器。它适用于 "Attach to Process" (iexplore),我能够调试我的 Word 插件。
为了简化,我尝试转向 VS-Code,据我所知,它支持内联调试。
在launch.json中,"type"可能是"node"、"chrome"、"edge"、"firefox"但是我没有找到iexplore哪个我认为我需要。
提前感谢您分享您的经验。
extension marketplace 中有许多调试器,但我不知道有一个用于 Internet Explorer。
我想在 VS-Code 中调试我的 office-js 应用程序(使用 angular2)。 我的 launch.json 是:
"configurations": [
{
"sourceMaps": true,
"type": "node",
"request": "attach",
"port": 4200,
"name": "Launch Program",
"outFiles": [
"${workspaceRoot}/*.js"
]
}
目前我正在使用带有 angular cli 和 "ng serve" 命令的 Atom Editor 和 VS Community Edition 2017 作为调试器。它适用于 "Attach to Process" (iexplore),我能够调试我的 Word 插件。
为了简化,我尝试转向 VS-Code,据我所知,它支持内联调试。
在launch.json中,"type"可能是"node"、"chrome"、"edge"、"firefox"但是我没有找到iexplore哪个我认为我需要。
提前感谢您分享您的经验。
extension marketplace 中有许多调试器,但我不知道有一个用于 Internet Explorer。