More instructions for debugging .g4 (#690)

This commit is contained in:
Stephen Weatherford (MSFT) 2018-06-18 14:52:03 -07:00 коммит произвёл GitHub
Родитель f3641d4a88
Коммит 33b1e8658a
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 5 добавлений и 4 удалений

7
.vscode/launch.json поставляемый
Просмотреть файл

@ -57,9 +57,10 @@
]
},
{
// Instructions:
// 1) Point 'input' to a debugging input file:
// 2) Save the mongo.g4 file to cause debugging info to be generated
// INSTRUCTIONS
// 1) Point 'input' to a debugging input file and set "input" below to the file's path
// 2) *** IMPORTANT*** Make a whitespace change in mongo.g4 and then save it. This forces debugging info to be generated.
// If this works, you'll see a warning in the Output window.
// 3) Launch this configuration
// 4) See Debug Console output
// 5) In mongo.g4 file, in the editor context menu, you should see options for generating graphs

Просмотреть файл

@ -5,7 +5,7 @@ Note: The file `JavaScript.tmLanguage.json` is derived from [TypeScriptReact.tmL
2. Re-comment imports in mongoParser.ts that are not used and cause compile errors
# Debugging the grammar
See instructions in launch.json
See instructions in launch.json. Be sure to explicitly save the mongo.g4 file to generate the debug info before trying to launch.
---
## *The following is out of date:*