Enable one-click debugging via the "Enable debug logging" rerun option
This commit is contained in:
parent
ca8a203b51
commit
53850d88bb
9 changed files with 23 additions and 18 deletions
2
lib/analyze-action.js
generated
2
lib/analyze-action.js
generated
|
|
@ -158,7 +158,7 @@ async function run() {
|
|||
console.log(`Failed to upload database debug bundles: ${error}`);
|
||||
}
|
||||
}
|
||||
if (core.isDebug() && config !== undefined) {
|
||||
if (config !== undefined && config.debugMode) {
|
||||
core.info("Debug mode is on. Printing CodeQL debug logs...");
|
||||
for (const language of config.languages) {
|
||||
const databaseDirectory = util.getCodeQLDatabasePath(config, language);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue