{"record":{"id":"4b838555b302293b","repo":"oven-sh/bun","slug":"no-program-specified","errorCode":null,"errorMessage":"No program specified","messagePattern":"No program specified","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/bun-debug-adapter-protocol/src/debugger/adapter.ts","lineNumber":2175,"sourceCode":"  }\n\n  async #launch(request: LaunchRequest): Promise<void> {\n    const {\n      runtime = \"bun\",\n      runtimeArgs = [],\n      program,\n      args = [],\n      cwd,\n      env = {},\n      strictEnv = false,\n      watchMode = false,\n      stopOnEntry = false,\n      __skipValidation = false,\n      stdin,\n    } = request;\n\n    if (!__skipValidation && !program) {\n      throw new Error(\"No program specified\");\n    }\n\n    const processArgs = [...runtimeArgs];\n\n    if (program === \"-\" && stdin) {\n      processArgs.push(\"--eval\", stdin);\n    } else if (program) {\n      processArgs.push(program);\n    }\n\n    processArgs.push(...args);\n\n    if (program && isTestJavaScript(program) && !runtimeArgs.includes(\"test\")) {\n      processArgs.unshift(\"test\");\n    }\n\n    if (watchMode && !runtimeArgs.includes(\"--watch\") && !runtimeArgs.includes(\"--hot\")) {\n      processArgs.unshift(watchMode === \"hot\" ? \"--hot\" : \"--watch\");","sourceCodeStart":2157,"sourceCodeEnd":2193,"githubUrl":"https://github.com/oven-sh/bun/blob/8c5296ac459e8252d3cd702f3fbcbb0c249d95d5/packages/bun-debug-adapter-protocol/src/debugger/adapter.ts#L2157-L2193","documentation":"Error \"No program specified\" thrown in oven-sh/bun.","triggerScenarios":"Thrown at packages/bun-debug-adapter-protocol/src/debugger/adapter.ts:2175 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"8c5296ac459e8252d3cd702f3fbcbb0c249d95d5","analyzedAt":"2026-08-16T08:01:58.794Z","schemaVersion":2},"datasetVersion":"2026-08-16T08:17:34.114Z"}