The allowDebugging property, which enables debugging into an extension's source code, is configured in the app.json file

MB-820 By islever Editorial Last updated

Create, debug, and deploy an extension in Business Central

Short answer

C The allowDebugging property is set in the app.json file to let you debug into an extension's source code.

Question

You need to allow debugging in an extension to view the source code. In which file should you specify the value of the allowDebugging property?
  1. settings.json
  2. rad.json
  3. app.json Correct Answer
  4. launch.json

Key Takeaways

app.json is the project manifest that holds debugging and deployment settings, so allowDebugging belongs there rather than in editor or launch configuration files. settings.json and launch.json control the AL environment and debugging session, not the extension's own debuggability.

The allowDebugging property is part of the app.json manifest for a Business Central extension. When set to true, it allows a debugger to step into the extension's source code, which is otherwise protected.

Common mistake: Do not place allowDebugging in settings.json, rad.json, or launch.json; it is a manifest property of the extension itself. Confusing it with the launch.json debug configuration is a common mistake.

Expert Analysis

Why the Answer Is Correct

Option C is correct because the allowDebugging property is specified in the app.json file of the extension, as confirmed by the 100 community votes and the official JSON files documentation. Setting it to true permits debugging into the extension's source code. This is a manifest-level setting that travels with the extension, not an editor or session setting.

Why the Other Options Are Wrong

Option A (settings.json) holds AL Language editor settings such as code analyzers, not the extension's allowDebugging property. Option B (rad.json) is not the file that contains allowDebugging. Option D (launch.json) configures how the debugger launches and deploys, but the allowDebugging switch for the extension source lives in app.json.

Community Comment Notes

Sourabh9045 states the allowDebugging property is specified in the app.json file, and examenesArb confirms C, while jp81 mislabels the letter but also points to app.json.

Official Reference

Community Votes

C
100%

100% of anonymous learners picked answer C. Votes are pick records left by other test-takers — they are not the verified answer.

Discussion 4 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 4

  1. Sourabh9045 👍 3
    allow debugging property is specifies in the app.json file. So the correct answer is C.
  2. leoizgon 👍 1 Answered C
    https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-json-files#appjson-file
  3. jp81 👍 1
    Its in app.json file, correct answer is D
  4. examenesArb 👍 4
    LA repsuesta correcta es la C

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

← Back to MB-820 Study Guide