Skip to content

Commit

Permalink
Merge branch 'connor4312/auto-attach-js-debug'
Browse files Browse the repository at this point in the history
  • Loading branch information
connor4312 committed Sep 16, 2020
2 parents 1e0080c + 480b18a commit 923189c
Show file tree
Hide file tree
Showing 3 changed files with 234 additions and 241 deletions.
33 changes: 6 additions & 27 deletions extensions/debug-auto-launch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,33 +17,6 @@
"watch": "gulp watch-extension:debug-auto-launch"
},
"contributes": {
"configuration": {
"title": "Node debug",
"properties": {
"debug.node.autoAttach": {
"scope": "window",
"type": "string",
"enum": [
"disabled",
"on",
"off"
],
"enumDescriptions": [
"%debug.node.autoAttach.disabled.description%",
"%debug.node.autoAttach.on.description%",
"%debug.node.autoAttach.off.description%"
],
"description": "%debug.node.autoAttach.description%",
"default": "disabled"
},
"debug.javascript.usePreviewAutoAttach": {
"scope": "window",
"type": "boolean",
"default": true,
"description": "%debug.javascript.usePreviewAutoAttach%"
}
}
},
"commands": [
{
"command": "extension.node-debug.toggleAutoAttach",
Expand All @@ -57,5 +30,11 @@
},
"devDependencies": {
"@types/node": "^12.11.7"
},
"prettier": {
"printWidth": 100,
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "avoid"
}
}
7 changes: 0 additions & 7 deletions extensions/debug-auto-launch/package.nls.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
{
"displayName": "Node Debug Auto-attach",
"description": "Helper for auto-attach feature when node-debug extensions are not active.",

"debug.node.autoAttach.description": "Automatically attach node debugger when node.js was launched in debug mode from integrated terminal.",
"debug.javascript.usePreviewAutoAttach": "Whether to use the preview debugger's version of auto attach.",
"debug.node.autoAttach.disabled.description": "Auto attach is disabled and not shown in status bar.",
"debug.node.autoAttach.on.description": "Auto attach is active.",
"debug.node.autoAttach.off.description": "Auto attach is inactive.",

"toggle.auto.attach": "Toggle Auto Attach"
}
Loading

0 comments on commit 923189c

Please sign in to comment.