This file is indexed.

/usr/share/angband/help/debug.txt is in angband-data 1:3.5.1-2.2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
==========================
Debug Command Descriptions
==========================

Item Creation
=============

Create an object ('c')
  Provides a menu to let you create any object, and drops it on the floor.
		
Create an artifact ('C')
  Prompts you for the name of an artifact, then drops that artifact nearby.
  You must give the name exactly as in 'artifact.txt'. You may optionally
  give a command-count, in which case this command drops the artifact with
  that number nearby instead of prompting you for a name.
		
Create a good object ('g')
  Creates a good object and places it nearby. If you provide a command-
  count, creates that many good items.
		
Create a very good object ('v')
  Creates a very good ("excellent") object and places it nearby. If you
  provide a command-count, creates that many very good items.
		
Play with an object ('o')
  Lets you modify an object by randomly rerolling it as a normal, good, or
  excellent object, or lets you modify it directly, tweaking the pval and
  combat values.
		
Test kind ('V')
  Requires a command-count. For the tval given by command-count, creates
  one object of each sval and drops it nearby.
		
Detection / Information
=======================

Detect all ('d')
  Detects all traps, doors, stairs, treasure, and monsters nearby.
		
Identify ('i')
  Fully identifies an object.
		
Magic Mapping ('m')
  Maps the nearby dungeon.
		
Self-knowledge ('k')
  Grants you self-knowledge, as the potion of the same name.
		
Learn about objects ('l')
  Requires a command-count. Makes you "aware" of all items with level less
  than or equal to the command-count.

Monster recall ('r')
  Gives you full monster recall on all monsters or on a chosen monster.

Wipe recall ('W')
  Resets monster recall on all monsters or on a chosen monster.
		
Unhide monsters ('u')
  Reveals all monsters whose distance to the character is at most 255. If
  given a command-count, uses that distance instead of 255.
		
Wizard-light the level ('w')
  Lights the entire level, as the Potion of Enlightenment.
		
Create spoilers ('"')
  Lets you create a spoiler file for objects or monsters.
		
Teleportation
=============

Teleport level ('j')
  Allows you to teleport to any dungeon level instantly.
		
Phase Door ('p')
  Teleports you up to 10 spaces away.
		
Teleport ('t')
  Teleports you up to 100 spaces away.
		
Teleport to target ('b')
  Teleports you to the last space you targeted (or close to it, if the pace
  is occupied).
		
Character Improvement
=====================
		
Cure all maladies ('a')
  Removes all curses, restores all stats, xp, hp, and sp, cures all bad
  effects, and satisfies your hunger.

Advance the character ('A')
  Advances your character to level 50, maxes all stats, and gives you a
  million gold.
		
Edit character ('e')
  Lets you specify your base stats, xp, and gold.
		
Increase experience ('x')
  Doubles your current experience and adds 1. If given a command-count,
  increases your experience by that much instead.
		
Rerate hitpoints ('h')
  Rerates your hitpoints.

Monsters
========
		
Summon monster ('n')
  Prompts you for the name of a monster, then summons that monster nearby.
  You must give the name exactly as in 'monster.txt'. You may optionally
  give a command-count, in which case this command summons the monster with
  that number nearby instead of prompting you for a name.
		
Summon random monster ('s')
  Summons a random monster next to you. If given a command-count, summons
  that many monsters instead.
		
Zap monsters ('z')
  Deletes all monsters in sight. If given a command-count, deletes all
  monsters whose distance to the character is at most the command-count
  instead.

Miscellaneous
=============

Create a trap ('T')		
  Creates a random trap on your square.

Quit without saving ('X')
  Quits the game without saving (prompts first).
		
Undocumented
============
		
Query the dungeon ('q')
  ???
		
Collect stats ('f')
  ???
		
Ben hack ('_')
  ???