<commit_before>/* eslint-env node */

'use strict'

const jsdebugger = require('../src/server')
const express = require('express')
const app = express()

const _config = {
  disabled: false,
  app: app,
  globalDebug: 'debug',
  globalConsole: undefined,
  level: 'trace',
  line: true
}

jsdebugger(_config)

const _log = debug('module')

_log.trace('trace')
_log.debug('debug')
_log.verbose('verbose')
_log.info('info')
_log.warn('warn')
_log.error('error')
_log.fatal('fatal')
_log.mark('mark')

app.get('/', function (req, res) {
  res.send('hello, world!')
})

app.post('/', function (req, res) {
  res.send('hello, world!')
})

app.put('/', function (req, res) {
  res.send('hello, world!')
})

app.delete('/', function (req, res) {
  res.send('hello, world!')
})

app.listen(5000)<commit_msg>fix tests<commit_after>/* eslint-env node */

'use strict'

const jsdebugger = require('../src/server')
const express = require('express')
const app = express()

const _config = {
  disabled: false,
  app: app,
  globalDebug: 'debug',
  globalConsole: undefined,
  level: 'trace',
  line: true
}

jsdebugger(_config)

const _log = debug('module')

_log.trace('trace')
_log.debug('debug')
_log.verbose('verbose')
_log.info('info')
_log.warn('warn')
_log.error('error')
_log.fatal('fatal')
_log.mark('mark')

app.get('/', function (req, res) {
  res.send('hello, world!')
})

app.post('/', function (req, res) {
  res.send('hello, world!')
})

app.put('/', function (req, res) {
  res.send('hello, world!')
})

app.delete('/', function (req, res) {
  res.send('hello, world!')
})

app.listen(5000)

setTimeout(() => process.exit(), 5000)
{'fraction_non_alphanumeric': 0.21542227662178703, 'fraction_numerical': 0.0073439412484700125, 'mean_word_length': 4.716783216783217, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6460781', 'n_tokens_mistral': 620, 'n_tokens_neox': 604, 'n_words': 133}