const command = {
  command: "debug",
  description:
    "Interactively debug any transaction on the blockchain (experimental)",
  builder: {
    _: {
      type: "string"
    }
  },
  help: {
    usage: "truffle debug [<transaction_hash>]",
    options: [
      {
        option: "<transaction_hash>",
        description: "Transaction ID to use for debugging."
      }
    ]
  },
  run: function(options, done) {
    const debugModule = require("debug");
    const debug = debugModule("lib:commands:debug");

    const { Environment } = require("@truffle/environment");
    const Config = require("@truffle/config");

    const { CLIDebugger } = require("../debug");

    Promise.resolve()
      .then(async () => {
        const config = Config.detect(options);
        await Environment.detect(config);

        const txHash = config._[0]; //may be undefined
        return await new CLIDebugger(config).run(txHash);
      })
      .then(interpreter => interpreter.start(done))
      .catch(done);
  }
};

module.exports = command;

@@ -165,16 +165,130 @@
 string%22%0A
+    %7D,%0A    network: %7B%0A      describe: %22Network to connect to%22,%0A      type: %22string%22,%0A      default: %22development%22%0A
     %7D%0A  
@@ -325,16 +325,38 @@
 le debug
+ %5B--network %3Cnetwork%3E%5D
  %5B%3Ctrans
@@ -394,16 +394,130 @@
       %7B%0A
+        option: %22--network%22,%0A        description: %22Network to connect to.  Default: development%22%0A      %7D,%0A      %7B%0A
         

Add --network option to debugger