Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// Autosnippet settings
"autoSnippet.snippets": [
{
"pattern": "**/*.ts",
"pattern": "**/*.ts",
"snippet": "ns-template"
},
],
Expand Down
2 changes: 1 addition & 1 deletion .vscode/snippets.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"body": [
"import { NS } from '@ns'",
"",
"export async function main(ns : NS) : Promise<void> {",
"export async function main(ns: NS): Promise<void> {",
"\t//",
"}"
]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ To import `someFunction` from the file `main.ts` located in the `src/` directory
import { someFunction } from 'main'
```

## Deugging
## Debugging

For debugging bitburner on Steam you will need to enable a remote debugging port. This can be done by rightclicking bitburner in your Steam library and selecting properties. There you need to add `--remote-debugging-port=9222` [Thanks @DarkMio]

Expand Down
2 changes: 1 addition & 1 deletion updateDefs.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const https = require("https")
const fs = require("fs")

const url = 'https://raw.githubusercontent.com/danielyxie/bitburner/dev/src/ScriptEditor/NetscriptDefinitions.d.ts'
const url = 'https://raw.githubusercontent.com/bitburner-official/bitburner-src/dev/src/ScriptEditor/NetscriptDefinitions.d.ts'
const path = './NetscriptDefinitions.d.ts'

https.get(url, (res) => {
Expand Down