Skip to content

Commit

Permalink
Only register the toggle command for our node and
Browse files Browse the repository at this point in the history
chrome types
  • Loading branch information
roblourens committed Jan 24, 2020
1 parent 8d46a1f commit 088544a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,12 @@
{
"command": "extension.NAMESPACE(node-debug).toggleSkippingFile",
"group": "navigation",
"when": "inDebugMode && callStackItemType == 'stackFrame'"
"when": "inDebugMode && debugType == NAMESPACE(node) && callStackItemType == 'stackFrame'"
},
{
"command": "extension.NAMESPACE(node-debug).toggleSkippingFile",
"group": "navigation",
"when": "inDebugMode && debugType == NAMESPACE(chrome) && callStackItemType == 'stackFrame'"
}
],
"view/title": [
Expand Down

0 comments on commit 088544a

Please sign in to comment.